Enum Class PluginKeyPatternsPredicate.MatchType

java.lang.Object
java.lang.Enum<PluginKeyPatternsPredicate.MatchType>
com.atlassian.plugin.predicate.PluginKeyPatternsPredicate.MatchType
All Implemented Interfaces:
Serializable, Comparable<PluginKeyPatternsPredicate.MatchType>, Constable
Enclosing class:
PluginKeyPatternsPredicate

public static enum PluginKeyPatternsPredicate.MatchType extends Enum<PluginKeyPatternsPredicate.MatchType>
  • Enum Constant Details

    • MATCHES_ANY

      public static final PluginKeyPatternsPredicate.MatchType MATCHES_ANY
      Specifies a PluginPredicate which matches if any one of a given list of included regular expressions is matched.
    • MATCHES_NONE

      public static final PluginKeyPatternsPredicate.MatchType MATCHES_NONE
      Specifies a PluginPredicate which matches if none of a given list of excluded regular expressions is matched.
  • Method Details

    • values

      public static PluginKeyPatternsPredicate.MatchType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PluginKeyPatternsPredicate.MatchType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • buildRegularExpression

      public abstract String buildRegularExpression(Collection<String> parts)
    • processMatcher

      public abstract boolean processMatcher(Matcher matcher)