public enum DrainMode extends Enum<DrainMode>
| Modifier and Type | Method and Description | 
|---|---|
| static DrainMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DrainMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final DrainMode NONE
public static final DrainMode REQUIRED
public static final DrainMode ATTEMPT
public static DrainMode[] values()
for (DrainMode c : DrainMode.values()) System.out.println(c);
public static DrainMode 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 nullCopyright © GigaSpaces.