public interface Shutdown extends Service, ShutdownTypes
Shutdown
interface provides methods Performs reboot/shutdow operations
on appliance.ShutdownTypes.ShutdownConfig, ShutdownTypes.ShutdownGetConfig
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel pending shutdown action.
|
void |
cancel(AsyncCallback<Void> asyncCallback)
Cancel pending shutdown action.
|
void |
cancel(AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Cancel pending shutdown action.
|
void |
cancel(InvocationConfig invocationConfig)
Cancel pending shutdown action.
|
ShutdownTypes.ShutdownGetConfig |
get()
Get details about the pending shutdown action.
|
void |
get(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback)
Get details about the pending shutdown action.
|
void |
get(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback,
InvocationConfig invocationConfig)
Get details about the pending shutdown action.
|
ShutdownTypes.ShutdownGetConfig |
get(InvocationConfig invocationConfig)
Get details about the pending shutdown action.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config)
Power off the appliance.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback)
Power off the appliance.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Power off the appliance.
|
void |
poweroff(ShutdownTypes.ShutdownConfig config,
InvocationConfig invocationConfig)
Power off the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config)
Reboot the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback)
Reboot the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Reboot the appliance.
|
void |
reboot(ShutdownTypes.ShutdownConfig config,
InvocationConfig invocationConfig)
Reboot the appliance.
|
void cancel()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorvoid cancel(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid cancel(AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void cancel(AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void poweroff(ShutdownTypes.ShutdownConfig config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- Configuration of poweroff actionError
- Generic errorvoid poweroff(ShutdownTypes.ShutdownConfig config, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
config
- Configuration of poweroff actioninvocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid poweroff(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
config
- Configuration of poweroff actionasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void poweroff(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
config
- Configuration of poweroff actionasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void reboot(ShutdownTypes.ShutdownConfig config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- Configuration of reboot actionError
- Generic errorvoid reboot(ShutdownTypes.ShutdownConfig config, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
config
- Configuration of reboot actioninvocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid reboot(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
config
- Configuration of reboot actionasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void reboot(ShutdownTypes.ShutdownConfig config, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
config
- Configuration of reboot actionasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ShutdownTypes.ShutdownGetConfig get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorShutdownTypes.ShutdownGetConfig get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid get(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Configuration of pending shutdown action.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<ShutdownTypes.ShutdownGetConfig> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Configuration of pending shutdown action.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.