Command.State

public enum Command.State


State of the command.

Summary

Enum Values

COMPLETE

The command execution is complete.

GENERIC_ERROR

A generic error occurred.

PENDING

The command execution is pending.

UNSPECIFIED

Unspecified.

Public methods

static Command.State

Returns the enum constant of this type with the specified name.

static Command.State[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

COMPLETE

Command.State Command.State.COMPLETE

The command execution is complete.

GENERIC_ERROR

Command.State Command.State.GENERIC_ERROR

A generic error occurred.

PENDING

Command.State Command.State.PENDING

The command execution is pending.

UNSPECIFIED

Command.State Command.State.UNSPECIFIED

Unspecified.

Public methods

valueOf

public static Command.State 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.)

Returns
Command.State

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static Command.State[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Command.State[]

an array containing the constants of this enum type, in the order they're declared