com.highdeal.admin.hci
Class ServerShutdownResult

java.lang.Object
  extended by com.highdeal.admin.hci.ServerManagementResult
      extended by com.highdeal.admin.hci.ServerShutdownResult
All Implemented Interfaces:
OperationResult, XMLMarshallable

public class ServerShutdownResult
extends ServerManagementResult

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
static java.lang.String OPERATION_NAME
          The XML name of this operation: "serverShutdownResult"
 
Fields inherited from class com.highdeal.admin.hci.ServerManagementResult
IS_PROCESSING, REASON, UNKNOWN_OPERATION, UNKNOWN_SERVER
 
Constructor Summary
ServerShutdownResult()
           
ServerShutdownResult(int delay)
           
 
Method Summary
 java.lang.String getName()
          Returns the name of this operation.
 java.lang.String getOperandReference()
          Returns the operand reference for audit.
 int getReason()
          Gets the reason.
 
Methods inherited from class com.highdeal.admin.hci.ServerManagementResult
addCharacterData, addChild, getMessage, getServerName, marshal, setAttributes, setMessage, setReason, setServerName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
The XML name of this operation: "serverShutdownResult"

See Also:
Constant Field Values
Constructor Detail

ServerShutdownResult

public ServerShutdownResult()

ServerShutdownResult

public ServerShutdownResult(int delay)
Method Detail

getName

public java.lang.String getName()
Description copied from class: ServerManagementResult
Returns the name of this operation.

Specified by:
getName in class ServerManagementResult
Returns:
The name of this operation

getReason

public int getReason()
Description copied from class: ServerManagementResult
Gets the reason.

Overrides:
getReason in class ServerManagementResult
Returns:
The reason
See Also:
ServerManagementResult.setReason(int), ServerManagementResult.UNKNOWN_OPERATION, ServerManagementResult.UNKNOWN_SERVER, ServerManagementResult.IS_PROCESSING

getOperandReference

public java.lang.String getOperandReference()
Description copied from class: ServerManagementResult
Returns the operand reference for audit.

Specified by:
getOperandReference in interface OperationResult
Specified by:
getOperandReference in class ServerManagementResult
Returns:
The operand reference for audit

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)