com.highdeal.admin.hci
Class ServerShutdownOp

java.lang.Object
  extended by com.highdeal.admin.hci.ServerManagementOp
      extended by com.highdeal.admin.hci.ServerShutdownOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable

public class ServerShutdownOp
extends ServerManagementOp

This operation allows you to stop a specific instance in the connected SAP CC Core Server system.

Operation Result

ServerShutdownResult

Operation Failure Exception

ServerFailureException

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="serverShutdown">
   <xs:complexType>
     <xs:attribute name="opID" type="xs:string"/>
     <xs:attribute name="delay" type="xs:integer"/>
   </xs:complexType>
 </xs:element>

Operation Availability

You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:

EditionFinal Target Instances
raterupdaterguiderbulkLoadertaxerdispatcher
chargeYesYesYesYesYesYes

Field Summary
static int DEFAULT_DELAY
          Constant for the default delay: 0
static java.lang.String OPERATION_NAME
          The XML tag name of this service operation: serverShutdown
 
Fields inherited from class com.highdeal.admin.hci.ServerManagementOp
OPERATION_ID, SERVER_NAME
 
Constructor Summary
ServerShutdownOp()
           
 
Method Summary
protected  void _marshal(XMLOutputter output)
          Writes the operation XML data to the specified output.
protected  void _setAttributes(XMLAttributes atts)
          Sets the operation attributes from the XMLAttributes.
 int getDelay()
          Returns the delay before the shutdown.
 java.lang.String getName()
          Returns the name of the operation: "serverShutdown"
 void setDelay(int d)
           
 
Methods inherited from class com.highdeal.admin.hci.ServerManagementOp
addCharacterData, addChild, getServerName, marshal, setAttributes, 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 tag name of this service operation: serverShutdown

See Also:
Constant Field Values

DEFAULT_DELAY

public static final int DEFAULT_DELAY
Constant for the default delay: 0

See Also:
Constant Field Values
Constructor Detail

ServerShutdownOp

public ServerShutdownOp()
Method Detail

getName

public java.lang.String getName()
Returns the name of the operation: "serverShutdown"

Specified by:
getName in interface MessageOperation
Specified by:
getName in class ServerManagementOp
Returns:
"serverShutdown"

getDelay

public int getDelay()
Returns the delay before the shutdown.

Returns:
The delay

setDelay

public void setDelay(int d)

_marshal

protected void _marshal(XMLOutputter output)
Description copied from class: ServerManagementOp
Writes the operation XML data to the specified output.

Specified by:
_marshal in class ServerManagementOp
Parameters:
output - The XMLOutputter to write into

_setAttributes

protected void _setAttributes(XMLAttributes atts)
Description copied from class: ServerManagementOp
Sets the operation attributes from the XMLAttributes.

Specified by:
_setAttributes in class ServerManagementOp
Parameters:
atts - The XMLAttributes containing the data

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