public static enum SignPromptFactory.Response extends Enum<SignPromptFactory.Response>
| Enum Constant and Description |
|---|
ACCEPTED
Marks that the response was accepted
|
TRY_AGAIN
Marks that the response was not accepted, the player will be prompted
for another input.
|
| Modifier and Type | Method and Description |
|---|---|
static SignPromptFactory.Response |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignPromptFactory.Response[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignPromptFactory.Response ACCEPTED
public static final SignPromptFactory.Response TRY_AGAIN
public static SignPromptFactory.Response[] values()
for (SignPromptFactory.Response c : SignPromptFactory.Response.values()) System.out.println(c);
public static SignPromptFactory.Response 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 © 2020. All rights reserved.