com.atlassian.plugin.predicate
Enum PluginKeyPatternsPredicate.MatchType
java.lang.Object
java.lang.Enum<PluginKeyPatternsPredicate.MatchType>
com.atlassian.plugin.predicate.PluginKeyPatternsPredicate.MatchType
- All Implemented Interfaces:
- Serializable, Comparable<PluginKeyPatternsPredicate.MatchType>
- Enclosing class:
- PluginKeyPatternsPredicate
public static enum PluginKeyPatternsPredicate.MatchType
- extends Enum<PluginKeyPatternsPredicate.MatchType>
|
Enum Constant Summary |
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. |
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.
values
public static PluginKeyPatternsPredicate.MatchType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PluginKeyPatternsPredicate.MatchType c : PluginKeyPatternsPredicate.MatchType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PluginKeyPatternsPredicate.MatchType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type 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)
Copyright © 2015 Atlassian. All rights reserved.