public interface Package extends Service, PackageTypes
Package interface provides methods to retrieve metamodel information
about a package element in the interface definition language.
A package is a logical grouping of services, structures and enumerations. A package element describes the package. It contains the service elements, structure elements and enumeration elements that are grouped together.
RESOURCE_TYPE| 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.
|
java.util.List<java.lang.String> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.package.java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
invocationConfig - Configuration for the method invocation.com.vmware.vapi.package.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
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.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
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.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.PackageInfo get(java.lang.String packageId)
packageId.
Synchronous method overload. Result of the invocation will be reported as a method return value.
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.NotFound - if the package element associated with packageId does not exist.PackageInfo get(java.lang.String packageId, InvocationConfig invocationConfig)
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.
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.NotFound - if the package element associated with packageId does not exist.void get(java.lang.String packageId,
AsyncCallback<PackageInfo> asyncCallback)
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.
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.void get(java.lang.String packageId,
AsyncCallback<PackageInfo> asyncCallback,
InvocationConfig invocationConfig)
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.
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.