public class PackageStub extends com.vmware.vapi.internal.bindings.Stub implements Package
Package
API service.
WARNING: Internal API, subject to change in future versions.
RESOURCE_TYPE| Constructor and Description |
|---|
PackageStub(ApiProvider apiProvider,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
PackageInfo |
get(String packageId)
Retrieves information about the package element corresponding to
packageId. |
void |
get(String packageId,
AsyncCallback<PackageInfo> asyncCallback)
Retrieves information about the package element corresponding to
packageId. |
void |
get(String packageId,
AsyncCallback<PackageInfo> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the package element corresponding to
packageId. |
PackageInfo |
get(String packageId,
InvocationConfig invocationConfig)
Retrieves information about the package element corresponding to
packageId. |
List<String> |
list()
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
void |
list(AsyncCallback<List<String>> asyncCallback)
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
void |
list(AsyncCallback<List<String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
List<String> |
list(InvocationConfig invocationConfig)
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
public PackageStub(ApiProvider apiProvider, StubConfigurationBase config)
public List<String> list()
PackageSynchronous method overload. Result of the invocation will be reported as a method return value.
public List<String> list(InvocationConfig invocationConfig)
PackageSynchronous 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 PackageinvocationConfig - Configuration for the method invocation.com.vmware.vapi.package.public void list(AsyncCallback<List<String>> asyncCallback)
PackageAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The list of identifiers for the package elements that are contained in all the
registered component elements.
The return value will contain identifiers for the resource type: com.vmware.vapi.package.
public void list(AsyncCallback<List<String>> asyncCallback, InvocationConfig invocationConfig)
PackageAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The list of identifiers for the package elements that are contained in all the
registered component elements.
The return value will contain identifiers for the resource type: com.vmware.vapi.package.
public PackageInfo get(String packageId)
PackagepackageId.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get in interface PackagepackageId - Identifier of the package element.
The parameter must be an identifier for the resource type: com.vmware.vapi.package.PackageInfo instance that
corresponds to packageId.public PackageInfo get(String packageId, InvocationConfig invocationConfig)
PackagepackageId.
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 PackagepackageId - Identifier of the package element.
The parameter must be an identifier for the resource type: com.vmware.vapi.package.invocationConfig - Configuration for the method invocation.PackageInfo instance that
corresponds to packageId.public void get(String packageId, AsyncCallback<PackageInfo> asyncCallback)
PackagepackageId.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The PackageInfo instance that
corresponds to packageId.
Operation Errors:
NotFound - if the package element associated with packageId does not exist.
public void get(String packageId, AsyncCallback<PackageInfo> asyncCallback, InvocationConfig invocationConfig)
PackagepackageId.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The PackageInfo instance that
corresponds to packageId.
Operation Errors:
NotFound - if the package element associated with packageId does not exist.
get in interface PackagepackageId - Identifier of the package element.
The parameter must be an identifier for the resource type: com.vmware.vapi.package.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2016. All Rights Reserved.