public abstract class ServerManagementOp extends java.lang.Object implements MessageOperation
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.
ServerShutdownOp
ServerManagementResultServerManagementResult| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_ID
Mapping for the operation ID: "operation"
|
static java.lang.String |
SERVER_NAME
Mapping for the server name: "serverName"
|
| Constructor and Description |
|---|
ServerManagementOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds string data to this operation.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child tag to this operation.
|
abstract java.lang.String |
getName()
Returns the name of the operation.
|
java.lang.String |
getServerName()
Gets the server system name.
|
void |
marshal(XMLOutputter output)
Writes the operation XML data to the specified output.
|
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the
XMLAttributes. |
void |
setServerName(java.lang.String name)
Sets the server system name.
|
public static final java.lang.String OPERATION_ID
public static final java.lang.String SERVER_NAME
public java.lang.String getServerName()
null if no server is specifiedpublic void setServerName(java.lang.String name)
name - The server namepublic abstract java.lang.String getName()
getName in interface MessageOperationpublic final void setAttributes(XMLAttributes atts)
XMLAttributes.setAttributes in interface XMLMarshallableatts - The XMLAttributes containing the datapublic final void addCharacterData(java.lang.String cData)
This data is ignored for this operation.
addCharacterData in interface XMLMarshallablecData - The character data to add to the operationpublic final void addChild(java.lang.String tagName,
XMLMarshallable child)
This tag is ignored for this operation.
addChild in interface XMLMarshallabletagName - The name of the tagchild - The XMLMarshallable child to addpublic final void marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XMLOutputter to write into