Interface PathConstraint
-
- All Known Implementing Classes:
BeginEndPathConstraint,PathLengthConstraint,RegexPathConstraint
public interface PathConstraintValidates that a path meets a defined constraint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(String path)Validates that a path meets a defined constraint
-
-
-
Method Detail
-
apply
void apply(String path)
Validates that a path meets a defined constraint- Parameters:
path- the path to validate- Throws:
PathConstraintException- when the constraint is not met
-
-