Package org.rundeck.app.services
Enum ExecutionFile.DeletePolicy
- java.lang.Object
-
- java.lang.Enum<ExecutionFile.DeletePolicy>
-
- org.rundeck.app.services.ExecutionFile.DeletePolicy
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ExecutionFile.DeletePolicy>
- Enclosing interface:
- ExecutionFile
public static enum ExecutionFile.DeletePolicy extends java.lang.Enum<ExecutionFile.DeletePolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYSNEVERNever delete the produced file (required for other use)WHEN_RETRIEVABLEDelete only when it can be retrieved again later
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionFile.DeletePolicyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ExecutionFile.DeletePolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final ExecutionFile.DeletePolicy ALWAYS
-
NEVER
public static final ExecutionFile.DeletePolicy NEVER
Never delete the produced file (required for other use)
-
WHEN_RETRIEVABLE
public static final ExecutionFile.DeletePolicy WHEN_RETRIEVABLE
Delete only when it can be retrieved again later
-
-
Method Detail
-
values
public static ExecutionFile.DeletePolicy[] 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 (ExecutionFile.DeletePolicy c : ExecutionFile.DeletePolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionFile.DeletePolicy 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
-
-