public enum CleanupStrategy extends java.lang.Enum<CleanupStrategy>
Enum Constant and Description |
---|
DEPENDENCIES_CLEANUP
Clean the contents of dependencies sub-directories, leave the rest.
|
FULL_CLEANUP
Wipe the entire job directory.
|
NO_CLEANUP
Skip cleanup completely.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLEANUP_HELP_MESSAGE
Section of the help message explaining the cleanup strategy.
|
Modifier and Type | Method and Description |
---|---|
static CleanupStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CleanupStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CleanupStrategy NO_CLEANUP
public static final CleanupStrategy FULL_CLEANUP
public static final CleanupStrategy DEPENDENCIES_CLEANUP
public static final java.lang.String CLEANUP_HELP_MESSAGE
public static CleanupStrategy[] values()
for (CleanupStrategy c : CleanupStrategy.values()) System.out.println(c);
public static CleanupStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null