public final class ConfigModelReader extends Object
Modifier and Type | Method and Description |
---|---|
static Collection<ConfigModel> |
loadValidations(Map<String,String> props,
String defaultProviderName)
Loads validations as configured in the given properties.
|
static Collection<ConfigModel> |
loadValidations(Map<String,String> props,
String selector,
String defaultProviderName)
Loads validations as configured in the given properties.
|
static Collection<ConfigModel> |
loadValidations(Properties props,
String defaultProviderName)
Loads validations as configured in the given properties.
|
public static Collection<ConfigModel> loadValidations(Properties props, String defaultProviderName)
props
- the properties to be readdefaultProviderName
- the default provider name used if no explicit provider name is configured.public static Collection<ConfigModel> loadValidations(Map<String,String> props, String defaultProviderName)
props
- the properties to be readdefaultProviderName
- the default provider name used if no explicit provider name is configured.public static Collection<ConfigModel> loadValidations(Map<String,String> props, String selector, String defaultProviderName)
props
- the properties to be readselector
- the selector (default is {model}), that identifies the model entries.defaultProviderName
- the default provider name used if no explicit provider name is configured.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.