Enum Matcher.MatcherId
- java.lang.Object
-
- java.lang.Enum<Matcher.MatcherId>
-
- com.cdancy.bitbucket.rest.domain.branch.Matcher.MatcherId
-
- All Implemented Interfaces:
Serializable,Comparable<Matcher.MatcherId>
- Enclosing class:
- Matcher
public static enum Matcher.MatcherId extends Enum<Matcher.MatcherId>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYANY_REFDEVELOPMENTMASTERRELEASE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()StringgetName()StringgetTypeId()StringgetTypeName()static Matcher.MatcherIdvalueOf(String name)Returns the enum constant of this type with the specified name.static Matcher.MatcherId[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RELEASE
public static final Matcher.MatcherId RELEASE
-
DEVELOPMENT
public static final Matcher.MatcherId DEVELOPMENT
-
MASTER
public static final Matcher.MatcherId MASTER
-
ANY_REF
public static final Matcher.MatcherId ANY_REF
-
ANY
public static final Matcher.MatcherId ANY
-
-
Method Detail
-
values
public static Matcher.MatcherId[] 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 (Matcher.MatcherId c : Matcher.MatcherId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Matcher.MatcherId 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 nameNullPointerException- if the argument is null
-
getId
public String getId()
-
getName
public String getName()
-
getTypeId
public String getTypeId()
-
getTypeName
public String getTypeName()
-
-