bot
Enum Actions
java.lang.Object
java.lang.Enum<Actions>
bot.Actions
- All Implemented Interfaces:
- Serializable, Comparable<Actions>
public enum Actions
- extends Enum<Actions>
List of actions which implements InterfacePerform.
- Author:
- Ondrej Burkert
|
Method Summary |
static Actions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Actions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
SAVE_GMT_JPG
public static final Actions SAVE_GMT_JPG
QUERY_AGENT
public static final Actions QUERY_AGENT
values
public static Actions[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Actions c : Actions.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Actions valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.