Class LengthComplexityRule.Entry

java.lang.Object
java.util.AbstractMap.SimpleImmutableEntry<String,List<Rule>>
org.passay.rule.LengthComplexityRule.Entry
All Implemented Interfaces:
Serializable, Map.Entry<String,List<Rule>>
Enclosing class:
LengthComplexityRule

public static class LengthComplexityRule.Entry extends AbstractMap.SimpleImmutableEntry<String,List<Rule>>
Class to contain a tuple of interval string to rules.
See Also:
  • Constructor Details

    • Entry

      public Entry(String interval, Rule... rules)
      Creates a new entry.
      Parameters:
      interval - interval string
      rules - for the supplied interval
    • Entry

      public Entry(String interval, List<Rule> rules)
      Creates a new entry.
      Parameters:
      interval - interval string
      rules - for the supplied interval