Class TaskInputValidator
java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<TaskInput>
co.yellowdog.platform.model.validation.customvalidators.TaskInputValidator
Custom validator applied to task inputs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@AssertTrue(message="must have namespace set if and only if source is OTHER_NAMESPACE") boolean
@AssertTrue(message="must not use wildcard characters in the object name if verification is specified") boolean
Methods inherited from class co.yellowdog.platform.model.beanvalidation.CustomValidator
getTarget, onSetTarget
-
Constructor Details
-
TaskInputValidator
public TaskInputValidator()
-
-
Method Details
-
isNamespaceSpecifiedWithSourceOtherNamespace
@AssertTrue(message="must have namespace set if and only if source is OTHER_NAMESPACE") public @AssertTrue(message="must have namespace set if and only if source is OTHER_NAMESPACE") boolean isNamespaceSpecifiedWithSourceOtherNamespace() -
isNoWildcardsWithVerification
@AssertTrue(message="must not use wildcard characters in the object name if verification is specified") public @AssertTrue(message="must not use wildcard characters in the object name if verification is specified") boolean isNoWildcardsWithVerification()
-