Enum Class FailureHandlingKind
- All Implemented Interfaces:
Serializable,Comparable<FailureHandlingKind>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplying the workspace change is simply aborted if one of the changes provided fails.If the workspace edit contains only textual file changes they are executed transactional.All operations are executed transactional.The client tries to undo the operations already executed. -
Method Summary
Modifier and TypeMethodDescriptionstatic FailureHandlingKindstatic FailureHandlingKindReturns the enum constant of this class with the specified name.static FailureHandlingKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Abort
Applying the workspace change is simply aborted if one of the changes provided fails. All operations executed before the failing operation stay executed. -
Transactional
All operations are executed transactional. That means they either all succeed or no changes at all are applied to the workspace. -
TextOnlyTransactional
If the workspace edit contains only textual file changes they are executed transactional. If resource changes (create, rename or delete file) are part of the change the failure handling startegy is abort. -
Undo
The client tries to undo the operations already executed. But there is no guaruntee that this is succeeding.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getStringValue
-
get
-