Package com.atlassian.plugin.predicate
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies a PluginPredicate which matches if any one of a given list of included regular expressions is matched.Specifies a PluginPredicate which matches if none of a given list of excluded regular expressions is matched. -
Method Summary
Modifier and TypeMethodDescriptionabstract StringbuildRegularExpression(Collection<String> parts) abstract booleanprocessMatcher(Matcher matcher) Returns the enum constant of this class with the specified name.static PluginKeyPatternsPredicate.MatchType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MATCHES_ANY
Specifies a PluginPredicate which matches if any one of a given list of included regular expressions is matched. -
MATCHES_NONE
Specifies a PluginPredicate which matches if none of a given list of excluded regular expressions is matched.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
buildRegularExpression
-
processMatcher
-