Class PasswordRuleViolations

    • Constructor Detail

    • Method Detail

      • reset

        public void reset()
        Empty out the list of violations.
      • addViolation

        public void addViolation​(String key)
        Add a violation to the underlying list.
        Parameters:
        key - the bundle/localization key for the message.
      • addViolation

        public void addViolation​(String key,
                                 String[] args)
        Add a violation to the underlying list.
        Parameters:
        key - the bundle/localization key for the message.
        args - the arguments for the message.
      • hasViolations

        public boolean hasViolations()
        Simple test to see if there are any violations.
        Returns:
        true if there are any violations.