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(ApiProvider apiProvider,
StubConfigurationBase config) |
ShellStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
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(AsyncCallback<ShellTypes.ShellConfig> asyncCallback)
Get enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
get(AsyncCallback<ShellTypes.ShellConfig> asyncCallback,
InvocationConfig invocationConfig)
Get enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
ShellTypes.ShellConfig |
get(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,
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,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
void |
set(ShellTypes.ShellConfig config,
InvocationConfig invocationConfig)
Set enabled state of BASH, that is, access to BASH from within the controlled
CLI.
|
public ShellStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ShellStub(ApiProvider apiProvider, 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, 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, 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, AsyncCallback<java.lang.Void> asyncCallback, 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(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(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(AsyncCallback<ShellTypes.ShellConfig> asyncCallback, 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