public class ConfigurationValidationResult extends Object
ConfigurationValidator
.
This class is not thread safe.Constructor and Description |
---|
ConfigurationValidationResult() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getErrors()
Return the list of errors
|
Map<String,PropertyValidationResult> |
getPropertyResults()
Get a property validation result for each property of the configuration
|
List<String> |
getWarnings()
Return the list of warnings
|
boolean |
isUseDefaultValue()
Should the default be used instead of the configuration values?
|
boolean |
isValid()
Is the configuration valid?
|
void |
setUseDefaultValue(boolean useDefault)
Set whether the default values should be used
|
public boolean isValid()
true
if it is validpublic List<String> getErrors()
public Map<String,PropertyValidationResult> getPropertyResults()
public List<String> getWarnings()
public boolean isUseDefaultValue()
true
if the default should be used.public void setUseDefaultValue(boolean useDefault)
useDefault
- boolean flagCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.