public class ConfigValidator extends Object
ApplicationConfigProvider
, which means it checks that each reference to a Constructor and Description |
---|
ConfigValidator(ApplicationConfigProvider provider) |
ConfigValidator(ApplicationConfigProvider provider,
boolean throwException,
boolean clearErrors) |
Modifier and Type | Method and Description |
---|---|
List<ConfigValidationError> |
getDetaildErrors() |
Set<String> |
getErrors() |
Set<String> |
getWarnings() |
void |
processErrors(String applicationName) |
void |
setWithDetailedErrors(boolean withDetails) |
void |
validate(String applicationName) |
void |
validate(String applicationName,
ClassLoader classLoader) |
void |
validateActions() |
void |
validateDataSources(ClassLoader classLoader) |
void |
validateMetaData(URLClassLoader classLoader) |
public ConfigValidator(ApplicationConfigProvider provider, boolean throwException, boolean clearErrors)
public ConfigValidator(ApplicationConfigProvider provider)
public void validate(String applicationName) throws InvalidConfigurationException
InvalidConfigurationException
public void validate(String applicationName, ClassLoader classLoader) throws InvalidConfigurationException
InvalidConfigurationException
public void setWithDetailedErrors(boolean withDetails)
public final void processErrors(String applicationName) throws InvalidConfigurationException
InvalidConfigurationException
public void validateDataSources(ClassLoader classLoader)
public void validateActions()
public void validateMetaData(URLClassLoader classLoader)
public List<ConfigValidationError> getDetaildErrors()
Copyright © 2011–2020 aiticon GmbH. All rights reserved.