public class ActivationManagerStub extends com.vmware.vapi.internal.bindings.Stub implements ActivationManager
ActivationManager
API service.
WARNING: Internal API, subject to change in future versions.
Constructor and Description |
---|
ActivationManagerStub(ApiProvider apiProvider,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(String activationId)
Asks for cancellation of a running activation.
|
void |
cancel(String activationId,
AsyncCallback<Void> asyncCallback)
Asks for cancellation of a running activation.
|
void |
cancel(String activationId,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Asks for cancellation of a running activation.
|
void |
cancel(String activationId,
InvocationConfig invocationConfig)
Asks for cancellation of a running activation.
|
public ActivationManagerStub(ApiProvider apiProvider, StubConfigurationBase config)
public void cancel(String activationId)
ActivationManager
Synchronous method overload. Result of the invocation will be reported as a method return value.
cancel
in interface ActivationManager
activationId
- activation identifierpublic void cancel(String activationId, InvocationConfig invocationConfig)
ActivationManager
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
cancel
in interface ActivationManager
activationId
- activation identifierinvocationConfig
- Configuration for the method invocation.public void cancel(String activationId, AsyncCallback<Void> asyncCallback)
ActivationManager
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- there is no activation with the specified id
cancel
in interface ActivationManager
activationId
- activation identifierasyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void cancel(String activationId, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
ActivationManager
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:
NotFound
- there is no activation with the specified id
cancel
in interface ActivationManager
activationId
- activation identifierasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2015. All Rights Reserved.