public interface IOperatorValidator
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(IWorkPackage wp)
This method is called in order to validate a given
IWorkPackage
for an operator. |
boolean validate(IWorkPackage wp) throws IllegalArgumentException, Exception
IWorkPackage
for an operator.
Within this method execution rules are declared and evaluated.
One may bypass the validation returning true on every call.
Note That the execution of the operator is not guaranteed to be
finished without uncaught errors!
wp - the work packagetrue, if the package is valid for this operatorIllegalArgumentException - if the source or parameters do evaluate the rules to
trueException - if other errors occur during validationCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.