public class TaggedValueTransformerConfigurationValidator extends Object implements ConfigurationValidator, MessageSource
Constructor and Description |
---|
TaggedValueTransformerConfigurationValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(ProcessConfiguration config,
Options options,
ShapeChangeResult result)
Validates the given configuration.
|
String |
message(int mnr)
Return a message for a message number.
|
public TaggedValueTransformerConfigurationValidator()
public boolean isValid(ProcessConfiguration config, Options options, ShapeChangeResult result)
ConfigurationValidator
WARNING: The validator should use the given ProcessConfiguration for retrieving parameters, map entries etc. Currently it is not safe to get this information from options, since options is not configured with that ProcessConfiguration. If the configuration contains multiple targets of the same type, this can lead to parameter values being returned from the wrong target configuration. Simply rely on the given ProcessConfiguration. That also leads to more readable code.
isValid
in interface ConfigurationValidator
true
if the configuration is valid, else
false
public String message(int mnr)
MessageSource
message
in interface MessageSource
Copyright © 2018. All rights reserved.