Class RunSpecificationValidator
java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<RunSpecification>
co.yellowdog.platform.model.validation.customvalidators.RunSpecificationValidator
Custom validator applied to task group run specifications.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@AssertTrue(message="must not have minWorkers greater than maxWorkers") boolean
Methods inherited from class co.yellowdog.platform.model.beanvalidation.CustomValidator
getTarget, onSetTarget
-
Constructor Details
-
RunSpecificationValidator
public RunSpecificationValidator()
-
-
Method Details
-
isMinWorkersNotGreaterThanMaxWorkers
@AssertTrue(message="must not have minWorkers greater than maxWorkers") public @AssertTrue(message="must not have minWorkers greater than maxWorkers") boolean isMinWorkersNotGreaterThanMaxWorkers()
-