public static enum CLEvent.CommandExecutionStatus extends Enum<CLEvent.CommandExecutionStatus> implements ValuedEnum
| Enum Constant and Description |
|---|
Complete
the command has completed
|
Queued
command has been enqueued in the command-queue
|
Running
device is currently executing this command
|
Submitted
enqueued command has been submitted by the host to the device associated with the command-queue
|
| Modifier and Type | Method and Description |
|---|---|
static CLEvent.CommandExecutionStatus |
getEnum(long v) |
long |
value() |
static CLEvent.CommandExecutionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLEvent.CommandExecutionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLEvent.CommandExecutionStatus Queued
public static final CLEvent.CommandExecutionStatus Submitted
public static final CLEvent.CommandExecutionStatus Running
public static final CLEvent.CommandExecutionStatus Complete
public static CLEvent.CommandExecutionStatus[] values()
for (CLEvent.CommandExecutionStatus c : CLEvent.CommandExecutionStatus.values()) System.out.println(c);
public static CLEvent.CommandExecutionStatus 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 nullpublic long value()
value in interface ValuedEnumpublic static CLEvent.CommandExecutionStatus getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.