public class ConfigDocumentationBean extends Object implements ConfigDocumentationMBean
ConfigDocumentationMBean.| Constructor and Description |
|---|
ConfigDocumentationBean()
Default constructor, using the current configuration being available.
|
ConfigDocumentationBean(org.apache.tamaya.Configuration config)
Creates an mbean bound to the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
String |
findConfigurationModels(String namePattern)
Find the validations by checking the validation's name using the given regular expression.
|
String |
findValidationModels(ModelType type,
String namePattern)
Find the validations by checking the validation's name using the given regular expression.
|
String |
getConfigurationModel() |
String |
getConfigurationModel(ModelType type) |
String |
toString() |
String |
validate(boolean showUndefined)
Validates the configuration for the given context.
|
public ConfigDocumentationBean()
public ConfigDocumentationBean(org.apache.tamaya.Configuration config)
config - the configuration to be used.public String validate(boolean showUndefined)
ConfigDocumentationMBeanvalidate in interface ConfigDocumentationMBeanshowUndefined - allows filtering for undefined configuration elements.public String getConfigurationModel()
getConfigurationModel in interface ConfigDocumentationMBeanpublic String getConfigurationModel(ModelType type)
getConfigurationModel in interface ConfigDocumentationMBeanpublic String findConfigurationModels(String namePattern)
ConfigDocumentationMBeanfindConfigurationModels in interface ConfigDocumentationMBeannamePattern - the regular expression to use, not null.public String findValidationModels(ModelType type, String namePattern)
ConfigDocumentationMBeanfindValidationModels in interface ConfigDocumentationMBeantype - the target ModelType, not null.namePattern - the regular expression to use, not null.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.