Interface ValidationRule

    • Field Summary

      • Fields inherited from interface org.apache.commons.chain.Command

        CONTINUE_PROCESSING, PROCESSING_COMPLETE
    • Method Detail

      • isApplicable

        boolean isApplicable​(String location)
        Tests whether a rule is applicable to a target location.
        Parameters:
        location - the target location to validate
        Returns:
        true, if the rule is applicable to the target, false otherwise
      • getCaption

        String getCaption()
        Gets a caption describing the rule.
        Returns:
        a string caption