public static enum Command.DataType extends Enum<Command.DataType>
Enum Constant and Description |
---|
form
This is a form querying for more data from the user.
|
result
This is a form with ad-hoc command result data.
|
submit
Form filled with data sent as a response to 'form' request.
|
Modifier and Type | Method and Description |
---|---|
static Command.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.DataType result
public static final Command.DataType form
public static final Command.DataType submit
public static Command.DataType[] values()
for (Command.DataType c : Command.DataType.values()) System.out.println(c);
public static Command.DataType 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 © 2017 "Tigase, Inc.". All rights reserved.