Package com._1c.g5.v8.dt.compare.merge
Enum PostponedFileOperation.OperationType
- java.lang.Object
-
- java.lang.Enum<PostponedFileOperation.OperationType>
-
- com._1c.g5.v8.dt.compare.merge.PostponedFileOperation.OperationType
-
- All Implemented Interfaces:
Serializable
,Comparable<PostponedFileOperation.OperationType>
- Enclosing class:
- PostponedFileOperation
public static enum PostponedFileOperation.OperationType extends Enum<PostponedFileOperation.OperationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_NEW
Add new file.DELETE
Delete existing file.REPLACE_CONTENT
Replace conent of the existing file.REPLACE_FILE
Remove old file and add a new instead.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PostponedFileOperation.OperationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PostponedFileOperation.OperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_NEW
public static final PostponedFileOperation.OperationType ADD_NEW
Add new file.
-
REPLACE_CONTENT
public static final PostponedFileOperation.OperationType REPLACE_CONTENT
Replace conent of the existing file.
-
REPLACE_FILE
public static final PostponedFileOperation.OperationType REPLACE_FILE
Remove old file and add a new instead.
-
DELETE
public static final PostponedFileOperation.OperationType DELETE
Delete existing file.
-
-
Method Detail
-
values
public static PostponedFileOperation.OperationType[] 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 (PostponedFileOperation.OperationType c : PostponedFileOperation.OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostponedFileOperation.OperationType 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
-
-