public interface Shell extends 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(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.
|
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, 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, 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, AsyncCallback<java.lang.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 - 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(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<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(AsyncCallback<ShellTypes.ShellConfig> 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.
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.