Package com.atlassian.confluence.cluster
Enum ZduStatus.State
- java.lang.Object
-
- java.lang.Enum<ZduStatus.State>
-
- com.atlassian.confluence.cluster.ZduStatus.State
-
- All Implemented Interfaces:
Serializable
,Comparable<ZduStatus.State>
- Enclosing class:
- ZduStatus
public static enum ZduStatus.State extends Enum<ZduStatus.State>
These do not map one to one to ZDU states, they just provide enough information for Confluence to interact with the ZDU Plugin Values of this type are stored in the DB via ZduStatusEntity
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZduStatus.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static ZduStatus.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final ZduStatus.State DISABLED
the cluster must have nodes with exactly the same version
-
ENABLED
public static final ZduStatus.State ENABLED
The cluster may have mixed bugfix versions
-
-
Method Detail
-
values
public static ZduStatus.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZduStatus.State c : ZduStatus.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZduStatus.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-