public interface Shell extends com.vmware.vapi.bindings.Service, ShellTypes
Shell
interface provides methods Get/Set enabled state of BASH.ShellTypes.ShellConfig
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
ShellTypes.ShellConfig |
get()
Get enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ShellTypes.ShellConfig> asyncCallback)
Get enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ShellTypes.ShellConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
ShellTypes.ShellConfig |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
set(ShellTypes.ShellConfig config)
Set enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
set(ShellTypes.ShellConfig config,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
set(ShellTypes.ShellConfig config,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
set(ShellTypes.ShellConfig config,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void set(ShellTypes.ShellConfig config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- Shell configurationError
- Generic errorvoid set(ShellTypes.ShellConfig config, com.vmware.vapi.bindings.client.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
- Shell configurationinvocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(ShellTypes.ShellConfig config, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
config
- Shell configurationasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(ShellTypes.ShellConfig config, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.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
- Shell configurationasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ShellTypes.ShellConfig get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorShellTypes.ShellConfig get(com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.AsyncCallback<ShellTypes.ShellConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Current shell configuration.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(com.vmware.vapi.bindings.client.AsyncCallback<ShellTypes.ShellConfig> asyncCallback, com.vmware.vapi.bindings.client.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.
Invocation Result:
Current shell configuration.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.