Package com.highdeal.admin.hci
Enum Class StandbyException.StandbyExceptionReason
java.lang.Object
java.lang.Enum<StandbyException.StandbyExceptionReason>
com.highdeal.admin.hci.StandbyException.StandbyExceptionReason
- All Implemented Interfaces:
Serializable,Comparable<StandbyException.StandbyExceptionReason>,Constable
- Enclosing class:
- StandbyException
public static enum StandbyException.StandbyExceptionReason
extends Enum<StandbyException.StandbyExceptionReason>
This enumeration lists the possible reasons for
StandbyException.XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="StandbyFaultReasonType">
<xs:restriction base="xs:string">
<xs:enumeration value="maintenanceDisabled"/>
<xs:enumeration value="invalidInstanceId"/>
<xs:enumeration value="duplicateInstanceId"/>
<xs:enumeration value="unknownInstance"/>
</xs:restriction>
</xs:simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn instance identifier is specified more than once.The specified instance identifier is invalid.The maintenance mode is disabled for the system.The specified instance identifier does not correspond to a known instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic final StandbyException.StandbyExceptionReasonGets an reason by its name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
maintenanceDisabled
The maintenance mode is disabled for the system. -
invalidInstanceId
The specified instance identifier is invalid. -
duplicateInstanceId
An instance identifier is specified more than once. -
unknownInstance
The specified instance identifier does not correspond to a known instance.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromName
Gets an reason by its name.- Parameters:
name- the name of the reason- Returns:
- the corresponding reason if the name specified is valid,
nullotherwise
-