public enum ArgumentType extends java.lang.Enum<ArgumentType>
Enum Constant and Description |
---|
ACTION
Argument accepts any action.
|
ACTION_DITRANSITIVE
Argument accepts ditransitive actions.
|
ACTION_GENERAL
Argument accepts general actions.
|
ACTION_MODAL_OPEN
Argument accepts modal or open actions.
|
ACTION_TRANSITIVE_DITRANSITIVE
Argument accepts transitive/ditransitive actions.
|
CONTAINER
Argument must accept a container.
|
ELEMENT
Argument must accept an element (object/player/room/container/world).
|
ELEMENT_ANY
Argument must accept an element (object/player/room/container/world) - can be archetype.
|
OBJECT
Argument must accept an object.
|
OBJECT_ANY
Argument must accept an object or an archetype object.
|
OBJECT_CONTAINER
Argument must accept an object container (player/room/container/world).
|
OBJECT_CONTAINER_ANY
Argument must accept an object container (player/room/container/world) - can be archetype.
|
PLAYER
Argument must accept a player.
|
ROOM
Argument must accept a room.
|
VALUE
Argument accepts a single literal value, can be anything.
|
VARIABLE
Argument must accept a variable.
|
Modifier and Type | Method and Description |
---|---|
static ArgumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArgumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArgumentType ACTION
public static final ArgumentType ACTION_DITRANSITIVE
public static final ArgumentType ACTION_GENERAL
public static final ArgumentType ACTION_MODAL_OPEN
public static final ArgumentType ACTION_TRANSITIVE_DITRANSITIVE
public static final ArgumentType CONTAINER
public static final ArgumentType ELEMENT
public static final ArgumentType ELEMENT_ANY
public static final ArgumentType OBJECT
public static final ArgumentType OBJECT_ANY
public static final ArgumentType OBJECT_CONTAINER
public static final ArgumentType OBJECT_CONTAINER_ANY
public static final ArgumentType PLAYER
public static final ArgumentType ROOM
public static final ArgumentType VALUE
public static final ArgumentType VARIABLE
public static ArgumentType[] values()
for (ArgumentType c : ArgumentType.values()) System.out.println(c);
public static ArgumentType 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