Enum SvnPatch.ParserState
- java.lang.Object
-
- java.lang.Enum<SvnPatch.ParserState>
-
- org.tmatesoft.svn.core.internal.wc2.patch.SvnPatch.ParserState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SvnPatch.ParserState>
- Enclosing class:
- SvnPatch
private static enum SvnPatch.ParserState extends java.lang.Enum<SvnPatch.ParserState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPY_FROM_SEEN
GIT_DIFF_SEEN
GIT_HEADER_FOUND
GIT_MINUS_SEEN
GIT_PLUS_SEEN
GIT_TREE_SEEN
MINUS_SEEN
MOVE_FROM_SEEN
START
UNIDIFF_FOUND
-
Constructor Summary
Constructors Modifier Constructor Description private
ParserState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SvnPatch.ParserState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SvnPatch.ParserState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final SvnPatch.ParserState START
-
GIT_DIFF_SEEN
public static final SvnPatch.ParserState GIT_DIFF_SEEN
-
GIT_TREE_SEEN
public static final SvnPatch.ParserState GIT_TREE_SEEN
-
GIT_MINUS_SEEN
public static final SvnPatch.ParserState GIT_MINUS_SEEN
-
GIT_PLUS_SEEN
public static final SvnPatch.ParserState GIT_PLUS_SEEN
-
MOVE_FROM_SEEN
public static final SvnPatch.ParserState MOVE_FROM_SEEN
-
COPY_FROM_SEEN
public static final SvnPatch.ParserState COPY_FROM_SEEN
-
MINUS_SEEN
public static final SvnPatch.ParserState MINUS_SEEN
-
UNIDIFF_FOUND
public static final SvnPatch.ParserState UNIDIFF_FOUND
-
GIT_HEADER_FOUND
public static final SvnPatch.ParserState GIT_HEADER_FOUND
-
-
Method Detail
-
values
public static SvnPatch.ParserState[] 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 (SvnPatch.ParserState c : SvnPatch.ParserState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SvnPatch.ParserState 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
-
-