Package | Description |
---|---|
org.apache.tamaya.model | |
org.apache.tamaya.model.internal | |
org.apache.tamaya.model.spi |
Modifier and Type | Method and Description |
---|---|
static <T extends ConfigModel> |
ConfigModelManager.getModel(String name,
Class<T> modelType)
Find the validations by matching the validation's name against the given model type.
|
Modifier and Type | Method and Description |
---|---|
ConfigModel |
ValidationResult.getConfigModel()
Get the configModel section.
|
Modifier and Type | Method and Description |
---|---|
static Collection<ConfigModel> |
ConfigModelManager.findModels(ModelType type,
String namePattern)
Find the validations by checking the validation's name using the given regular expression.
|
static Collection<ConfigModel> |
ConfigModelManager.findModels(String namePattern)
Find the validations by checking the validation's name using the given regular expression.
|
static Collection<ConfigModel> |
ConfigModelManager.getModels()
Get the validations defined.
|
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
ValidationResult.of(ConfigModel configModel,
ValidationState result,
String message)
Constructor.
|
static ValidationResult |
ValidationResult.ofDeprecated(ConfigModel configModel)
Creates a new ValidationResult.
|
static ValidationResult |
ValidationResult.ofDeprecated(ConfigModel configModel,
String alternativeUsage)
Creates a new ValidationResult.
|
static ValidationResult |
ValidationResult.ofError(ConfigModel configModel,
String error)
Creates a new ValidationResult.
|
static ValidationResult |
ValidationResult.ofMissing(ConfigModel configModel)
Creates a new ValidationResult.
|
static ValidationResult |
ValidationResult.ofMissing(ConfigModel configModel,
String message)
Creates a new ValidationResult.
|
static ValidationResult |
ValidationResult.ofValid(ConfigModel configModel)
Creates a new ValidationResult.
|
static ValidationResult |
ValidationResult.ofWarning(ConfigModel configModel,
String warning)
Creates a new ValidationResult.
|
Modifier and Type | Method and Description |
---|---|
Collection<ConfigModel> |
ConfiguredTypeEventsModelProvider.getConfigModels() |
Collection<ConfigModel> |
ConfiguredInlineModelProviderSpi.getConfigModels() |
Collection<ConfigModel> |
ConfiguredPropertiesModelProviderSpi.getConfigModels() |
Collection<ConfigModel> |
ConfiguredResourcesModelProviderSpi.getConfigModels() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractModel
Default configuration Model for a configuration area.
|
class |
AreaConfigModel
Default configuration Model for a configuration section.
|
class |
ConfigModelGroup
Default configuration Model for a configuration area.
|
class |
ParameterModel
Default configuration Model for a configuration parameter.
|
Modifier and Type | Method and Description |
---|---|
ConfigModel |
ParameterModel.Builder.build()
Creates a new ConfigModel with the given parameters.
|
ConfigModel |
AreaConfigModel.Builder.build()
Build a new ConfigModel instance.
|
static ConfigModel |
ParameterModel.of(String name)
Creates a new ConfigModel.
|
static ConfigModel |
ParameterModel.of(String name,
boolean required)
Creates a new ConfigModel
|
static ConfigModel |
AreaConfigModel.of(String name,
boolean required)
Creates a section validation for the given section.
|
static ConfigModel |
AreaConfigModel.of(String name,
boolean required,
ConfigModel... configModels)
Creates a section validation for the given section.
|
static ConfigModel |
ParameterModel.of(String name,
boolean required,
String expression)
Creates a new ConfigModel
|
Modifier and Type | Method and Description |
---|---|
Collection<ConfigModel> |
ModelProviderSpi.getConfigModels()
Get the validation defined.
|
Collection<ConfigModel> |
ConfigModelGroup.getValidations() |
static Collection<ConfigModel> |
ConfigModelReader.loadValidations(Map<String,String> props,
String defaultProviderName)
Loads validations as configured in the given properties.
|
static Collection<ConfigModel> |
ConfigModelReader.loadValidations(Map<String,String> props,
String selector,
String defaultProviderName)
Loads validations as configured in the given properties.
|
static Collection<ConfigModel> |
ConfigModelReader.loadValidations(Properties props,
String defaultProviderName)
Loads validations as configured in the given properties.
|
Modifier and Type | Method and Description |
---|---|
AreaConfigModel.Builder |
AreaConfigModel.Builder.addValidations(ConfigModel... configModels)
Add configModels.
|
int |
AbstractModel.compareTo(ConfigModel configModel) |
static ConfigModel |
AreaConfigModel.of(String name,
boolean required,
ConfigModel... configModels)
Creates a section validation for the given section.
|
Modifier and Type | Method and Description |
---|---|
AreaConfigModel.Builder |
AreaConfigModel.Builder.addValidations(Collection<ConfigModel> configModels)
Add configModels.
|
Constructor and Description |
---|
ConfigModelGroup(String name,
String provider,
ConfigModel... configModels) |
Constructor and Description |
---|
ConfigModelGroup(String name,
String provider,
Collection<ConfigModel> configModels) |
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.