Package com.highdeal.admin.hci
Class ServerShutdownResult
java.lang.Object
com.highdeal.admin.hci.ServerManagementResult
com.highdeal.admin.hci.ServerShutdownResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This class represents the result of the
Server Shutdown operation;
It contains the acknowledge of the SAP CC system.
Implementation in Your Client Application
The result is one of the following:
Use the getReason()
method to get the resulting reason.
Operation Request
ServerShutdownOp XML API for HCI
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML name of this operation: "serverShutdownResult"Fields inherited from class com.highdeal.admin.hci.ServerManagementResult
IS_PROCESSING, REASON, UNKNOWN_OPERATION, UNKNOWN_SERVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of this operation.Returns the operand reference for audit.intGets the reason.Methods inherited from class com.highdeal.admin.hci.ServerManagementResult
addCharacterData, addChild, getMessage, getServerName, marshal, setAttributes, setMessage, setReason, setServerName
-
Field Details
-
OPERATION_NAME
The XML name of this operation: "serverShutdownResult"- See Also:
-
-
Constructor Details
-
ServerShutdownResult
public ServerShutdownResult() -
ServerShutdownResult
public ServerShutdownResult(int delay)
-
-
Method Details
-
getName
Description copied from class:ServerManagementResultReturns the name of this operation.- Specified by:
getNamein classServerManagementResult- Returns:
- The name of this operation
-
getReason
public int getReason()Description copied from class:ServerManagementResultGets the reason.- Overrides:
getReasonin classServerManagementResult- Returns:
- The reason
- See Also:
-
getOperandReference
Description copied from class:ServerManagementResultReturns the operand reference for audit.- Specified by:
getOperandReferencein interfaceOperationResult- Specified by:
getOperandReferencein classServerManagementResult- Returns:
- The operand reference for audit
-