- Enclosing class:
- ServiceConfigurationValidatorResults
public static class ServiceConfigurationValidatorResults.ValidatorResult
extends java.lang.Object
An instance of a validator Result
that represents some type of configuration parameter error.
The result consists of the name of a field that caused the error, the type of error and the
appropriate error message. When considering the type of configuration errors a distinction
is made between a property-specific error and possibly a global configuration error. For
example, an improperly named URL may cause a property format error during validation. This
is an error that resulkts from a local verification of format. However in the future, validators
may also perform deep validation
that may involve a lookup for a specific
configuration value or artifact. For instance, if the parameter is a global variable and
no such variable exists in the repository, this may result in a global error. For Editors
it is also probable that global errors may display in a status bar, whereas property error
may be used to decorate the field with an error marker.