public interface ConfigurationValidator
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(ProcessConfiguration pConfig,
Options o,
ShapeChangeResult r)
Validates the given configuration.
|
boolean isValid(ProcessConfiguration pConfig, Options o, ShapeChangeResult r)
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.
pConfig
- o
- r
- true
if the configuration is valid, else
false
Copyright © 2018. All rights reserved.