Package com.highdeal.admin.hci
Class ServerManagementOp
java.lang.Object
com.highdeal.admin.hci.ServerManagementOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
- Direct Known Subclasses:
ServerShutdownOp
This
abstract Java class serves as a base class for the server system management operations;
Consider also the known subclasses that extend this Java class: ServerShutdownOp.
Example
The SAP CC Admin+ user interface implements this operation. You can view the XML stream exchanged between this user interface and the SAP CC system via the HCI technical interface.
Operation Request
ServerShutdownOp
Operation Result
ServerManagementResult- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddCharacterData(String cData) Adds string data to this operation.final voidaddChild(String tagName, XMLMarshallable child) Adds a child tag to this operation.abstract StringgetName()Returns the name of the operation.Gets the server system name.final voidmarshal(XMLOutputter output) Writes the operation XML data to the specified output.final voidsetAttributes(XMLAttributes atts) Sets the operation attributes from theXMLAttributes.voidsetServerName(String name) Sets the server system name.
-
Field Details
-
OPERATION_ID
Mapping for the operation ID: "operation"- See Also:
-
SERVER_NAME
Mapping for the server name: "serverName"- See Also:
-
-
Constructor Details
-
ServerManagementOp
public ServerManagementOp()
-
-
Method Details
-
getServerName
Gets the server system name.- Returns:
- The server name, or
nullif no server is specified
-
setServerName
Sets the server system name.- Parameters:
name- The server name
-
getName
Returns the name of the operation.- Specified by:
getNamein interfaceMessageOperation- Returns:
- The name of the operation
-
setAttributes
Sets the operation attributes from theXMLAttributes.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXMLAttributescontaining the data
-
addCharacterData
Adds string data to this operation.This data is ignored for this operation.
- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to add to the operation
-
addChild
Adds a child tag to this operation.This tag is ignored for this operation.
- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of the tagchild- TheXMLMarshallablechild to add
-
marshal
Writes the operation XML data to the specified output.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXMLOutputterto write into
-