Package ball.util.ant.taskdefs
Class AntTaskAttributeConstraint.Checker
- java.lang.Object
-
- ball.util.ant.taskdefs.AntTaskAttributeConstraint.Checker
-
- Direct Known Subclasses:
NotEmpty.Checker
,NotNull.Checker
- Enclosing class:
- AntTaskAttributeConstraint
public abstract static class AntTaskAttributeConstraint.Checker extends Object
AntTaskAttributeConstraint.value()
base class
-
-
Constructor Summary
Constructors Constructor Description Checker()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract void
check(Task task, TaskConfigurationChecker checker, String name, Object value)
Method to validate an attribute value.
-
-
-
Constructor Detail
-
Checker
public Checker()
-
-
Method Detail
-
check
protected abstract void check(Task task, TaskConfigurationChecker checker, String name, Object value)
Method to validate an attribute value.- Parameters:
task
- TheTask
that owns and is validating the attribute.checker
- TheTaskConfigurationChecker
to report violations.name
- The name of the attribute.value
- The attribute value.
-
-