JobTypes.CreateSpec, JobTypes.Info, JobTypes.Status
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
JobStub(ApiProvider apiProvider,
StubConfigurationBase config) |
JobStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
JobTypes.Info |
create(JobTypes.CreateSpec spec)
Initiate reconciliation.
|
void |
create(JobTypes.CreateSpec spec,
AsyncCallback<JobTypes.Info> asyncCallback)
Initiate reconciliation.
|
void |
create(JobTypes.CreateSpec spec,
AsyncCallback<JobTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Initiate reconciliation.
|
JobTypes.Info |
create(JobTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Initiate reconciliation.
|
JobTypes.Info |
get()
Get reconciliation job progress/result.
|
void |
get(AsyncCallback<JobTypes.Info> asyncCallback)
Get reconciliation job progress/result.
|
void |
get(AsyncCallback<JobTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get reconciliation job progress/result.
|
JobTypes.Info |
get(InvocationConfig invocationConfig)
Get reconciliation job progress/result.
|
public JobStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public JobStub(ApiProvider apiProvider, StubConfigurationBase config)
public JobTypes.Info create(JobTypes.CreateSpec spec)
Job
Synchronous method overload. Result of the invocation will be reported as a method return value.
public JobTypes.Info create(JobTypes.CreateSpec spec, InvocationConfig invocationConfig)
Job
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 create(JobTypes.CreateSpec spec, AsyncCallback<JobTypes.Info> asyncCallback)
Job
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress.
NotAllowedInCurrentState
- Reconciliation is allowed only after restore has finished successfully.
Error
- if any error occurs during the execution of the operation.
public void create(JobTypes.CreateSpec spec, AsyncCallback<JobTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Job
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:
Info Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress.
NotAllowedInCurrentState
- Reconciliation is allowed only after restore has finished successfully.
Error
- if any error occurs during the execution of the operation.
public JobTypes.Info get()
Job
Synchronous method overload. Result of the invocation will be reported as a method return value.
public JobTypes.Info get(InvocationConfig invocationConfig)
Job
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<JobTypes.Info> asyncCallback)
Job
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info Structure
Operation Errors:
NotFound
- if there is no running reconciliation job.
Error
- if any error occurs during the execution of the operation.
public void get(AsyncCallback<JobTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Job
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:
Info Structure
Operation Errors:
NotFound
- if there is no running reconciliation job.
Error
- if any error occurs during the execution of the operation.