Package org.ovirt.engine.sdk4.types
Enum GlusterVolumeStatus
- java.lang.Object
-
- java.lang.Enum<GlusterVolumeStatus>
-
- org.ovirt.engine.sdk4.types.GlusterVolumeStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<GlusterVolumeStatus>
public enum GlusterVolumeStatus extends Enum<GlusterVolumeStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GlusterVolumeStatus
fromValue(String value)
String
value()
static GlusterVolumeStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static GlusterVolumeStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOWN
public static final GlusterVolumeStatus DOWN
Volume needs to be started, for clients to be able to mount and use it.
-
UNKNOWN
public static final GlusterVolumeStatus UNKNOWN
When the status cannot be determined due to host being non-responsive.
-
UP
public static final GlusterVolumeStatus UP
Volume is started, and can be mounted and used by clients.
-
-
Method Detail
-
values
public static GlusterVolumeStatus[] 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 (GlusterVolumeStatus c : GlusterVolumeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlusterVolumeStatus 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
-
value
public String value()
-
fromValue
public static GlusterVolumeStatus fromValue(String value)
-
-