public enum SaveOptions extends Enum<SaveOptions> implements com.tagtraum.japlscript.JaplEnum
Modifier and Type | Method and Description |
---|---|
static SaveOptions |
get(String name)
Get instance for name.
|
String |
getCode() |
String |
getDescription() |
String |
getName() |
static SaveOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaveOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveOptions YES
public static final SaveOptions NO
public static final SaveOptions ASK
public static SaveOptions[] values()
for (SaveOptions c : SaveOptions.values()) System.out.println(c);
public static SaveOptions 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 String getName()
getName
in interface com.tagtraum.japlscript.JaplEnum
public String getCode()
getCode
in interface com.tagtraum.japlscript.JaplEnum
public String getDescription()
getDescription
in interface com.tagtraum.japlscript.JaplEnum
public static SaveOptions get(String name)
Copyright © 2006–2019 tagtraum industries incorporated. All rights reserved.