Enum Class ServerStatus

java.lang.Object
java.lang.Enum<ServerStatus>
com.highdeal.admin.hci.ServerStatus
All Implemented Interfaces:
Serializable, Comparable<ServerStatus>, Constable

public enum ServerStatus extends Enum<ServerStatus>
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 running
  • Waiting: the system instance is waiting to be enabled
  • Off: the system instance is stopped
  • Starting: the system instance is starting (next status is On)
  • Stopping: the system instance is stopping (next status is Off)
  • Standby: the system instance is in standby
  • GoingIntoStandby: the system instance is going into standby (next status is Standby)

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>

  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static ServerStatus[] 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

      public static ServerStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public int getId()
    • isRunning

      public boolean isRunning()
    • getLabel

      public String getLabel()
    • getServerStatusById

      public static final ServerStatus getServerStatusById(int id)
    • getServerStatusByName

      public static final ServerStatus getServerStatusByName(String name)