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)
ConfigDocumentationMBean
validate
in interface ConfigDocumentationMBean
showUndefined
- allows filtering for undefined configuration elements.public String getConfigurationModel()
getConfigurationModel
in interface ConfigDocumentationMBean
public String getConfigurationModel(ModelType type)
getConfigurationModel
in interface ConfigDocumentationMBean
public String findConfigurationModels(String namePattern)
ConfigDocumentationMBean
findConfigurationModels
in interface ConfigDocumentationMBean
namePattern
- the regular expression to use, not null.public String findValidationModels(ModelType type, String namePattern)
ConfigDocumentationMBean
findValidationModels
in interface ConfigDocumentationMBean
type
- the target ModelType, not null.namePattern
- the regular expression to use, not null.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.