public enum InstructionStatus extends Enum<InstructionStatus>
| Enum Constant and Description |
|---|
Cancelled
The instruction has never executed, or has been executing but all its effects
have been rolled back.
|
Executing
The instruction is being executed.
|
Failed
The instruciton has failed to execute completely, but some of its effects may
have been recorded in the state.
|
Queued
Its immediate prerequisite intructions have not been resolved.
|
Scheduled
All of instruction's prerequisites have been successful and this instruction is
ready to be executed, but the resources needed for its execution are not ready.
|
Successful
The instruction has executed competely and its effects have been recorded in
state.
|
Unknown
The instruction has failed to execute within the deadline allocated to it.
|
| Modifier and Type | Method and Description |
|---|---|
static InstructionStatus |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static InstructionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstructionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstructionStatus Queued
public static final InstructionStatus Scheduled
public static final InstructionStatus Executing
public static final InstructionStatus Cancelled
public static final InstructionStatus Failed
public static final InstructionStatus Successful
public static final InstructionStatus Unknown
public static InstructionStatus[] values()
for (InstructionStatus c : InstructionStatus.values()) System.out.println(c);
public static InstructionStatus 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 String getName()
public int getIntValue()
public static InstructionStatus forValue(int valueArg)
valueArg - Copyright © 2017 OpenDaylight. All rights reserved.