public class CobblerPowerCommand extends CobblerCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
CobblerPowerCommand.Operation
Possible power management operations.
|
user, xmlRpcToken| Constructor and Description |
|---|
CobblerPowerCommand(User userIn,
Server serverIn,
CobblerPowerCommand.Operation operationIn)
Instantiates a new Cobbler power management command.
|
| Modifier and Type | Method and Description |
|---|---|
ValidatorError |
store()
Attempts to power on, off or reboot the server.
|
getCobblerConnection, getCobblerConnection, invokeCobblerUpdate, invokeXMLRPC, invokeXMLRPC, makeCobblerFileName, makeCobblerName, makeCobblerName, makeCobblerNamepublic CobblerPowerCommand(User userIn, Server serverIn, CobblerPowerCommand.Operation operationIn)
userIn - the user running this commandserverIn - the server to power on or offoperationIn - the operation to runpublic ValidatorError store()
store in class CobblerCommand