Class TaskValidator
java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<Task>
co.yellowdog.platform.model.validation.customvalidators.TaskValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@AssertTrue(message="must not specify the same input more than once") boolean
@AssertTrue(message="must only flatten input paths if inputs are specified") boolean
@AssertTrue(message="must be named if outputs are specified") boolean
Methods inherited from class co.yellowdog.platform.model.beanvalidation.CustomValidator
getTarget, onSetTarget
-
Constructor Details
-
TaskValidator
public TaskValidator()
-
-
Method Details
-
isNamedIfOutputs
@AssertTrue(message="must be named if outputs are specified") public @AssertTrue(message="must be named if outputs are specified") boolean isNamedIfOutputs() -
isFlattenInputPathsOnlyIfInputs
@AssertTrue(message="must only flatten input paths if inputs are specified") public @AssertTrue(message="must only flatten input paths if inputs are specified") boolean isFlattenInputPathsOnlyIfInputs() -
isAllInputsUnique
@AssertTrue(message="must not specify the same input more than once") public @AssertTrue(message="must not specify the same input more than once") boolean isAllInputsUnique()
-