public class ShellStub extends com.vmware.vapi.internal.bindings.Stub implements Shell
Shell
API service.
WARNING: Internal class, subject to change in future versions.
ShellTypes.ShellConfig
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ShellStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ShellStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
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.
|
public ShellStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ShellStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void set(ShellTypes.ShellConfig config)
Shell
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(ShellTypes.ShellConfig config, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Shell
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void set(ShellTypes.ShellConfig config, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Shell
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void set(ShellTypes.ShellConfig config, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Shell
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
public ShellTypes.ShellConfig get()
Shell
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ShellTypes.ShellConfig get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Shell
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ShellTypes.ShellConfig> asyncCallback)
Shell
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Current shell configuration.
Operation Errors:
Error
- Generic error
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ShellTypes.ShellConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Shell
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