public enum CleanupMode extends Enum<CleanupMode>
| Enum Constant and Description |
|---|
NONE |
REMOVE |
TRY_TO_REMOVE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRemove() |
static CleanupMode |
parse(String param) |
static CleanupMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CleanupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CleanupMode NONE
public static final CleanupMode TRY_TO_REMOVE
public static final CleanupMode REMOVE
public static CleanupMode[] values()
for (CleanupMode c : CleanupMode.values()) System.out.println(c);
public static CleanupMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CleanupMode parse(String param)
public boolean isRemove()
Copyright © 2016. All Rights Reserved.