Interface PathConstraint

All Known Implementing Classes:
BeginEndPathConstraint, PathLengthConstraint, RegexPathConstraint

public interface PathConstraint
Validates that a path meets a defined constraint
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(String path)
    Validates that a path meets a defined constraint
  • Method Details

    • 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