public static enum ScratchFileService.Option extends java.lang.Enum<ScratchFileService.Option>
| Enum Constant and Description |
|---|
create_if_missing |
create_new_always |
existing_only |
| Modifier and Type | Method and Description |
|---|---|
static ScratchFileService.Option |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScratchFileService.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScratchFileService.Option existing_only
public static final ScratchFileService.Option create_if_missing
public static final ScratchFileService.Option create_new_always
public static ScratchFileService.Option[] values()
for (ScratchFileService.Option c : ScratchFileService.Option.values()) System.out.println(c);
public static ScratchFileService.Option 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