Interface ConfigurationValidator
-
- All Known Implementing Classes:
TableColumnValuesUniqueValidator
public interface ConfigurationValidatorAn interface that allows for custom validation of all the Fields and tables that compose the configuration of the adapter. Full configuration validation occurs after individual field and table row validation take place and only if no errors are reported during those validation processes.
AAdapterConfigurationGuiDescriptorcan have 0..n ConfigurationValidators that will be invoked in order until ValidationException is thrown or all ConfigurationValidators have been executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(Configuration configuration)Implementations of this method can perform any necessary validation on all the configuration values for an adapter.
-
-
-
Method Detail
-
validate
void validate(Configuration configuration) throws ValidationException
Implementations of this method can perform any necessary validation on all the configuration values for an adapter. This is generally useful when there are dependencies between fields and tables in an adapter.- Parameters:
configuration- a Configuration object populated by user entered values from the GUI.- Throws:
ValidationException- if the configuration is invalid.
-
-