public enum ServerStatus extends Enum<ServerStatus>
enumeration lists the possible statuses of an instance in an SAP CC system in the system landscape (on, off, waiting).
The possible values are:
InstanceStatus| Enum Constant and Description |
|---|
off
The SAP CC system instance is shutdown
|
on
The SAP CC system instance is up
|
waiting
The SAP CC system instance is waiting to be enabled
|
| Modifier and Type | Method and Description |
|---|---|
static ServerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerStatus on
public static final ServerStatus off
public static final ServerStatus waiting
public static ServerStatus[] values()
for (ServerStatus c : ServerStatus.values()) System.out.println(c);
public static ServerStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null