public class PackageStub extends com.vmware.vapi.internal.bindings.Stub implements Package
Package
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, securityContext
RESOURCE_TYPE
Constructor and Description |
---|
PackageStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PackageStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
PackageInfo |
get(java.lang.String packageId)
Retrieves information about the package element corresponding to
packageId . |
void |
get(java.lang.String packageId,
AsyncCallback<PackageInfo> asyncCallback)
Retrieves information about the package element corresponding to
packageId . |
void |
get(java.lang.String packageId,
AsyncCallback<PackageInfo> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the package element corresponding to
packageId . |
PackageInfo |
get(java.lang.String packageId,
InvocationConfig invocationConfig)
Retrieves information about the package element corresponding to
packageId . |
java.util.List<java.lang.String> |
list()
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Returns the identifiers for the packages elements that are contained in all the
registered component elements.
|
public PackageStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PackageStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<java.lang.String> list()
Package
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Package
Synchronous 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 Package
invocationConfig
- Configuration for the method invocation.com.vmware.vapi.package
.public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Package
Asynchronous 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<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Package
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 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(java.lang.String packageId)
Package
packageId
.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Package
packageId
- 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(java.lang.String packageId, InvocationConfig invocationConfig)
Package
packageId
.
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 Package
packageId
- 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(java.lang.String packageId, AsyncCallback<PackageInfo> asyncCallback)
Package
packageId
.
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(java.lang.String packageId, AsyncCallback<PackageInfo> asyncCallback, InvocationConfig invocationConfig)
Package
packageId
.
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 Package
packageId
- 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.