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, retryPolicy, securityContext_VAPI_SERVICE_ID, 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 authentication information about the package element corresponding to
packageId. |
void |
get(java.lang.String packageId,
AsyncCallback<PackageInfo> asyncCallback)
Retrieves authentication information about the package element corresponding to
packageId. |
void |
get(java.lang.String packageId,
AsyncCallback<PackageInfo> asyncCallback,
InvocationConfig invocationConfig)
Retrieves authentication information about the package element corresponding to
packageId. |
PackageInfo |
get(java.lang.String packageId,
InvocationConfig invocationConfig)
Retrieves authentication information about the package element corresponding to
packageId. |
java.util.List<java.lang.String> |
list()
Returns the identifiers for the package elements that have authentication
information.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Returns the identifiers for the package elements that have authentication
information.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers for the package elements that have authentication
information.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Returns the identifiers for the package elements that have authentication
information.
|
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()
PackageSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.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.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
PackageAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The list of identifiers for the package elements that have authentication
information.
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)
PackageAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
The list of identifiers for the package elements that have authentication
information.
The return value will contain identifiers for the resource type: com.vmware.vapi.package.
public PackageInfo get(java.lang.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 packageIdpublic PackageInfo get(java.lang.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 packageIdpublic void get(java.lang.String packageId,
AsyncCallback<PackageInfo> asyncCallback)
PackagepackageId.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The PackageInfo instance that
corresponds to packageId
Operation Errors:
NotFound - if the package element associated with packageId does not have any
authentication information.
public void get(java.lang.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.
Invocation Result:
The PackageInfo instance that
corresponds to packageId
Operation Errors:
NotFound - if the package element associated with packageId does not have any
authentication information.
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.