public class ServerShutdownResult extends ServerManagementResult
Server Shutdown operation;
It contains the acknowledge of the SAP CC system.
The result is one of the following:
Use the getReason()
method to get the resulting reason.
ServerShutdownOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="serverShutdownResult">
<xs:complexType>
<xs:attribute name="reason" type="xs:integer"/>
<xs:attribute name="instance" type="xs:string"/>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML name of this operation: "serverShutdownResult"
|
IS_PROCESSING, REASON, UNKNOWN_OPERATION, UNKNOWN_SERVER| Constructor and Description |
|---|
ServerShutdownResult() |
ServerShutdownResult(int delay) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of this operation.
|
String |
getOperandReference()
Returns the operand reference for audit.
|
int |
getReason()
Gets the reason.
|
addCharacterData, addChild, getMessage, getServerName, marshal, setAttributes, setMessage, setReason, setServerNamepublic static final String OPERATION_NAME
public ServerShutdownResult()
public ServerShutdownResult(int delay)
public String getName()
ServerManagementResultgetName in class ServerManagementResultpublic int getReason()
ServerManagementResultgetReason in class ServerManagementResultServerManagementResult.setReason(int),
ServerManagementResult.UNKNOWN_OPERATION,
ServerManagementResult.UNKNOWN_SERVER,
ServerManagementResult.IS_PROCESSINGpublic String getOperandReference()
ServerManagementResultgetOperandReference in interface OperationResultgetOperandReference in class ServerManagementResult