public class OperationStub extends com.vmware.vapi.internal.bindings.Stub implements Operation
Operation
API service.
WARNING: Internal class, subject to change in future versions.
OperationTypes.DataDefinition, OperationTypes.InfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
OperationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
OperationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
OperationTypes.Info |
get(String serviceId,
String operationId)
Returns the
OperationTypes.Info for a
given vAPI operation. |
void |
get(String serviceId,
String operationId,
AsyncCallback<OperationTypes.Info> asyncCallback)
Returns the
OperationTypes.Info for a
given vAPI operation. |
void |
get(String serviceId,
String operationId,
AsyncCallback<OperationTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the
OperationTypes.Info for a
given vAPI operation. |
OperationTypes.Info |
get(String serviceId,
String operationId,
InvocationConfig invocationConfig)
Returns the
OperationTypes.Info for a
given vAPI operation. |
Set<String> |
list(String serviceId)
Returns the set of operation identifiers for a given vAPI service.
|
void |
list(String serviceId,
AsyncCallback<Set<String>> asyncCallback)
Returns the set of operation identifiers for a given vAPI service.
|
void |
list(String serviceId,
AsyncCallback<Set<String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the set of operation identifiers for a given vAPI service.
|
Set<String> |
list(String serviceId,
InvocationConfig invocationConfig)
Returns the set of operation identifiers for a given vAPI service.
|
public OperationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public OperationStub(ApiProvider apiProvider, StubConfigurationBase config)
public Set<String> list(String serviceId)
OperationSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface OperationserviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.com.vmware.vapi.operation.public Set<String> list(String serviceId, InvocationConfig invocationConfig)
OperationSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface OperationserviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.invocationConfig - Configuration for the method invocation.com.vmware.vapi.operation.public void list(String serviceId, AsyncCallback<Set<String>> asyncCallback)
OperationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
set of operation identifiers for a given vAPI service.
The return value will contain identifiers for the resource type: com.vmware.vapi.operation.
Operation Errors:
NotFound - If the service identifier does not exist.
public void list(String serviceId, AsyncCallback<Set<String>> asyncCallback, InvocationConfig invocationConfig)
OperationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
set of operation identifiers for a given vAPI service.
The return value will contain identifiers for the resource type: com.vmware.vapi.operation.
Operation Errors:
NotFound - If the service identifier does not exist.
list in interface OperationserviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public OperationTypes.Info get(String serviceId, String operationId)
OperationOperationTypes.Info for a
given vAPI operation.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get in interface OperationserviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.operationId - operation identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.operation.OperationTypes.Info for a given vAPI
operation.public OperationTypes.Info get(String serviceId, String operationId, InvocationConfig invocationConfig)
OperationOperationTypes.Info for a
given vAPI operation.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface OperationserviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.operationId - operation identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.operation.invocationConfig - Configuration for the method invocation.OperationTypes.Info for a given vAPI
operation.public void get(String serviceId, String operationId, AsyncCallback<OperationTypes.Info> asyncCallback)
OperationOperationTypes.Info for a
given vAPI operation.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
OperationTypes.Info for a given vAPI
operation.
Operation Errors:
NotFound - If the operation identifier does not exist.
NotFound - If the service identifier does not exist.
get in interface OperationserviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.operationId - operation identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(String serviceId, String operationId, AsyncCallback<OperationTypes.Info> asyncCallback, InvocationConfig invocationConfig)
OperationOperationTypes.Info for a
given vAPI operation.
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:
OperationTypes.Info for a given vAPI
operation.
Operation Errors:
NotFound - If the operation identifier does not exist.
NotFound - If the service identifier does not exist.
get in interface OperationserviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.operationId - operation identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2023. All rights reserved.