Enum PatcherConstants
- java.lang.Object
-
- java.lang.Enum<PatcherConstants>
-
- jetbrains.buildServer.vcs.patches.PatcherConstants
-
- All Implemented Interfaces:
Serializable
,Comparable<PatcherConstants>
public enum PatcherConstants extends Enum<PatcherConstants>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_DIRECTORY
CREATE_BINARY
CREATE_BINARY_INT
Deprecated.useCREATE_BINARY
CREATE_TEXT_USING_BYTES
CREATE_TEXT_USING_BYTES_INT
Deprecated.DELETE
DELETE_DIR
DELETE_DIR_WITH_EMPTY_PARENT
DELETE_WITH_EMPTY_PARENT
EXIT
FAIL
NO_OP
RENAME
RENAME_DIR
RENAME_DIR_WITH_EMPTY_PARENT
RENAME_WITH_EMPTY_PARENT
REPLACE_BINARY
REPLACE_BINARY_INT
Deprecated.useREPLACE_BINARY
REPLACE_TEXT_USING_BYTES
REPLACE_TEXT_USING_BYTES_INT
Deprecated.SET_FILE_MODE
SET_TIME_STAMP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatcherConstants
fromByte(byte b)
byte
getValue()
static PatcherConstants
valueOf(String name)
Returns the enum constant of this type with the specified name.static PatcherConstants[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXIT
public static final PatcherConstants EXIT
-
FAIL
public static final PatcherConstants FAIL
-
DELETE
public static final PatcherConstants DELETE
-
DELETE_DIR_WITH_EMPTY_PARENT
public static final PatcherConstants DELETE_DIR_WITH_EMPTY_PARENT
-
DELETE_WITH_EMPTY_PARENT
public static final PatcherConstants DELETE_WITH_EMPTY_PARENT
-
DELETE_DIR
public static final PatcherConstants DELETE_DIR
-
RENAME_WITH_EMPTY_PARENT
public static final PatcherConstants RENAME_WITH_EMPTY_PARENT
-
RENAME
public static final PatcherConstants RENAME
-
RENAME_DIR_WITH_EMPTY_PARENT
public static final PatcherConstants RENAME_DIR_WITH_EMPTY_PARENT
-
RENAME_DIR
public static final PatcherConstants RENAME_DIR
-
REPLACE_BINARY
public static final PatcherConstants REPLACE_BINARY
-
CREATE_BINARY
public static final PatcherConstants CREATE_BINARY
-
REPLACE_TEXT_USING_BYTES
public static final PatcherConstants REPLACE_TEXT_USING_BYTES
-
CREATE_TEXT_USING_BYTES
public static final PatcherConstants CREATE_TEXT_USING_BYTES
-
SET_TIME_STAMP
public static final PatcherConstants SET_TIME_STAMP
-
SET_FILE_MODE
public static final PatcherConstants SET_FILE_MODE
-
ADD_DIRECTORY
public static final PatcherConstants ADD_DIRECTORY
-
NO_OP
public static final PatcherConstants NO_OP
-
REPLACE_BINARY_INT
public static final PatcherConstants REPLACE_BINARY_INT
Deprecated.useREPLACE_BINARY
-
REPLACE_TEXT_USING_BYTES_INT
public static final PatcherConstants REPLACE_TEXT_USING_BYTES_INT
Deprecated.
-
CREATE_BINARY_INT
public static final PatcherConstants CREATE_BINARY_INT
Deprecated.useCREATE_BINARY
-
CREATE_TEXT_USING_BYTES_INT
public static final PatcherConstants CREATE_TEXT_USING_BYTES_INT
Deprecated.
-
-
Method Detail
-
values
public static PatcherConstants[] 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 (PatcherConstants c : PatcherConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatcherConstants 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
-
getValue
public byte getValue()
-
fromByte
@Nullable public static PatcherConstants fromByte(byte b)
-
-