@Override public String getOperationDeprecatedDescription(String operationName, Locale locale, ResourceBundle bundle) { for (PathElement path : this.paths) { String key = this.getBundleKey(path, operationName, ModelDescriptionConstants.DEPRECATED); if (bundle.containsKey(key)) { return bundle.getString(key); } } return this.parent.getOperationDeprecatedDescription(operationName, locale, bundle); }
@Override public String getOperationDeprecatedDescription(String operationName, Locale locale, ResourceBundle bundle) { for (PathElement path : this.paths) { String key = this.getBundleKey(path, operationName, ModelDescriptionConstants.DEPRECATED); if (bundle.containsKey(key)) { return bundle.getString(key); } } return this.parent.getOperationDeprecatedDescription(operationName, locale, bundle); }
ModelNode deprecated = result.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));
ModelNode deprecated = result.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));
ModelNode deprecated = result.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));
ModelNode deprecated = result.get(ModelDescriptionConstants.DEPRECATED); deprecated.get(ModelDescriptionConstants.SINCE).set(deprecationData.getSince().toString()); deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getOperationDeprecatedDescription(operationName, locale, bundle));