Package org.eclipse.jgit.ignore.internal
Enum Strings.PatternState
- java.lang.Object
-
- java.lang.Enum<Strings.PatternState>
-
- org.eclipse.jgit.ignore.internal.Strings.PatternState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Strings.PatternState>
- Enclosing class:
- Strings
static enum Strings.PatternState extends java.lang.Enum<Strings.PatternState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLEXLEADING_ASTERISK_ONLYNONETRAILING_ASTERISK_ONLY
-
Constructor Summary
Constructors Modifier Constructor Description privatePatternState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Strings.PatternStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Strings.PatternState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEADING_ASTERISK_ONLY
public static final Strings.PatternState LEADING_ASTERISK_ONLY
-
TRAILING_ASTERISK_ONLY
public static final Strings.PatternState TRAILING_ASTERISK_ONLY
-
COMPLEX
public static final Strings.PatternState COMPLEX
-
NONE
public static final Strings.PatternState NONE
-
-
Method Detail
-
values
public static Strings.PatternState[] 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 (Strings.PatternState c : Strings.PatternState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Strings.PatternState valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-