public enum NodeStates extends Enum<NodeStates>
Enum Constant and Description |
---|
CONFIGURED
Node has been configured prior to being started.
|
CONFIGURING
Node is transitioning from created state to configured state.
|
CREATED
Node software has been installed.
|
CREATING
Node is transitioning from initial state to created state.
|
DELETING
Node is transitioning from its current state to one where it is deleted and its state is no
longer tracked by the instance model.
|
ERROR
Node is in an error state.
|
INITIAL
Node is not yet created.
|
STARTED
Node is started.
|
STARTING
Node is transitioning from configured state to started state.
|
STOPPED
Node is stopped.
|
STOPPING
Node is transitioning from its current state to a configured state.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTransitional() |
static NodeStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeStates INITIAL
public static final NodeStates CREATING
public static final NodeStates CREATED
public static final NodeStates CONFIGURING
public static final NodeStates CONFIGURED
public static final NodeStates STARTING
public static final NodeStates STARTED
public static final NodeStates STOPPING
public static final NodeStates STOPPED
public static final NodeStates DELETING
public static final NodeStates ERROR
public static NodeStates[] values()
for (NodeStates c : NodeStates.values()) System.out.println(c);
public static NodeStates 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 boolean isTransitional()
Copyright © 2015–2023 I.N.F.N.. All rights reserved.