public enum CordVtnNodeState extends Enum<CordVtnNodeState>
| Enum Constant and Description |
|---|
COMPLETE |
DEVICE_CREATED |
INIT |
PORT_CREATED |
| Modifier and Type | Method and Description |
|---|---|
abstract CordVtnNodeState |
nextState()
Returns the next node state.
|
abstract void |
process(CordVtnNodeHandler handler,
CordVtnNode node)
Processes the current node state to proceed to the next state.
|
static CordVtnNodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CordVtnNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CordVtnNodeState INIT
public static final CordVtnNodeState DEVICE_CREATED
public static final CordVtnNodeState PORT_CREATED
public static final CordVtnNodeState COMPLETE
public static CordVtnNodeState[] values()
for (CordVtnNodeState c : CordVtnNodeState.values()) System.out.println(c);
public static CordVtnNodeState 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 abstract void process(CordVtnNodeHandler handler, CordVtnNode node)
handler - cordvtn node state handlernode - cordvtn nodepublic abstract CordVtnNodeState nextState()
Copyright © 2018. All rights reserved.