public enum LocalNodeState extends java.lang.Enum<LocalNodeState>
Enum Constant and Description |
---|
ACTIVE |
EMPTY
Can not construct instance of com.github.dockerjava.api.model.LocalNodeState
from String value '': value not one of declared Enum instance names: [error, locked, inactive, active, pending]
|
ERROR |
INACTIVE |
LOCKED |
PENDING |
Modifier and Type | Method and Description |
---|---|
static LocalNodeState |
forValue(java.lang.String s) |
java.lang.String |
getValue() |
static LocalNodeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocalNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalNodeState INACTIVE
public static final LocalNodeState PENDING
public static final LocalNodeState ACTIVE
public static final LocalNodeState ERROR
public static final LocalNodeState LOCKED
public static final LocalNodeState EMPTY
public static LocalNodeState[] values()
for (LocalNodeState c : LocalNodeState.values()) System.out.println(c);
public static LocalNodeState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public static LocalNodeState forValue(java.lang.String s)
Copyright © 2019. All Rights Reserved.