@Override public String serializeModelVersion(Object object) { //Happens in the app classloader return ((ModelVersion)object).toString(); }
@Override public String serializeModelVersion(Object object) { //Happens in the app classloader return ((ModelVersion)object).toString(); }
@Override public String serializeModelVersion(Object object) { //Happens in the app classloader return ((ModelVersion)object).toString(); }
@Override public String serializeModelVersion(Object object) { //Happens in the app classloader return ((ModelVersion)object).toString(); }
@Override public String serializeModelVersion(Object object) { //Happens in the app classloader return ((ModelVersion)object).toString(); }
public ModelNode addDeprecatedInfo(final ModelNode model) { if (deprecationData == null) { return null; } ModelNode deprecated = model.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); /*String bundleKey = prefix == null ? name : (prefix + "." + name); bundleKey+="."+ModelDescriptionConstants.DEPRECATED;*/ //deprecated.get(ModelDescriptionConstants.REASON).set(bundle.getString(bundleKey)); deprecated.get(ModelDescriptionConstants.REASON); return deprecated; }
private ModelNode addDeprecatedInfo(final ModelNode model) { ModelNode deprecated = model.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON); return deprecated; }
private ModelNode addDeprecatedInfo(final ModelNode model) { ModelNode deprecated = model.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON); return deprecated; }
private ModelNode addDeprecatedInfo(final ModelNode model) { ModelNode deprecated = model.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON); return deprecated; } }
/** * Adds attribute deprecation information, if relevant, to the given attribute description node * @param model the attribute description * @return the node added to {@code model} or {@code null} if no deprecation data was needed */ public ModelNode addDeprecatedInfo(final ModelNode model) { if (deprecationData == null) { return null; } ModelNode deprecated = model.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); /*String bundleKey = prefix == null ? name : (prefix + "." + name); bundleKey+="."+ModelDescriptionConstants.DEPRECATED;*/ //deprecated.get(ModelDescriptionConstants.REASON).set(bundle.getString(bundleKey)); deprecated.get(ModelDescriptionConstants.REASON); return deprecated; }
/** * Adds attribute deprecation information, if relevant, to the given attribute description node * @param model the attribute description * @return the node added to {@code model} or {@code null} if no deprecation data was needed */ public ModelNode addDeprecatedInfo(final ModelNode model) { if (deprecationData == null) { return null; } ModelNode deprecated = model.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); /*String bundleKey = prefix == null ? name : (prefix + "." + name); bundleKey+="."+ModelDescriptionConstants.DEPRECATED;*/ //deprecated.get(ModelDescriptionConstants.REASON).set(bundle.getString(bundleKey)); deprecated.get(ModelDescriptionConstants.REASON); return deprecated; }
/** * Adds attribute deprecation information, if relevant, to the given attribute description node * @param model the attribute description * @return the node added to {@code model} or {@code null} if no deprecation data was needed */ public ModelNode addDeprecatedInfo(final ModelNode model) { if (deprecationData == null) { return null; } ModelNode deprecated = model.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); /*String bundleKey = prefix == null ? name : (prefix + "." + name); bundleKey+="."+ModelDescriptionConstants.DEPRECATED;*/ //deprecated.get(ModelDescriptionConstants.REASON).set(bundle.getString(bundleKey)); deprecated.get(ModelDescriptionConstants.REASON); return deprecated; }
String asVersion = (String)props.get(legacyModelVersion.toString()); if (asVersion == null) { throw new IllegalArgumentException("src/test/resources/" + fileName +
String asVersion = (String)props.get(legacyModelVersion.toString()); if (asVersion == null) {
String asVersion = (String)props.get(legacyModelVersion.toString()); if (asVersion == null) {
deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));
deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));
deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));
deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));