Package com.highdeal.admin.hci
Enum Class ServerStatus
- All Implemented Interfaces:
Serializable,Comparable<ServerStatus>,Constable
This
enumeration lists the possible statuses of an instance in an SAP CC system in the system landscape.
The possible values are:
On: the system instance is up and runningWaiting: the system instance is waiting to be enabledOff: the system instance is stoppedStarting: the system instance is starting (next status isOn)Stopping: the system instance is stopping (next status isOff)Standby: the system instance is in standbyGoingIntoStandby: the system instance is going into standby (next status isStandby)
- See Also:
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="ServerStatusType">
<xs:restriction base="xs:string">
<xs:enumeration value="off"/>
<xs:enumeration value="waiting"/>
<xs:enumeration value="on"/>
<xs:enumeration value="starting"/>
<xs:enumeration value="stopping"/>
<xs:enumeration value="standby"/>
<xs:enumeration value="goingIntoStandby"/>
</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 Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintgetId()getLabel()static final ServerStatusgetServerStatusById(int id) static final ServerStatusgetServerStatusByName(String name) booleanstatic ServerStatusReturns the enum constant of this class with the specified name.static ServerStatus[]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
-
off
-
waiting
-
on
-
starting
-
stopping
-
standby
-
goingIntoStandby
-
-
Field Details
-
SERVER_STATUS_COUNT
public static final int SERVER_STATUS_COUNT- See Also:
-
-
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
-
getId
public int getId() -
isRunning
public boolean isRunning() -
getLabel
-
getServerStatusById
-
getServerStatusByName
-