Class TaskValidator

java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<Task>
co.yellowdog.platform.model.validation.customvalidators.TaskValidator

public class TaskValidator extends CustomValidator<Task>
Custom validator applied to tasks.
  • 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()