Class TaskInputValidator

java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<TaskInput>
co.yellowdog.platform.model.validation.customvalidators.TaskInputValidator

public class TaskInputValidator extends CustomValidator<TaskInput>
Custom validator applied to task inputs.
  • 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()