public interface ConfigurationValidator
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(ConfigOptionRegistry registry,
Value value)
Checks if the value is valid.
|
void |
setAttributes(String[] attributes)
This method is used to set the attributes which where defined in the
configuration definition.
|
void |
validate(ConfigOptionRegistry registry,
Value value)
Does the same as the isValid method but is able to thow an exception with
an error message.
|
boolean isValid(ConfigOptionRegistry registry, Value value)
value
- void validate(ConfigOptionRegistry registry, Value value) throws ValidationException
value
- ValidationException
void setAttributes(String[] attributes)
attributes
- Copyright © 2018 universAAL Consortium. All rights reserved.