public class ComponentsStub extends com.vmware.vapi.internal.bindings.Stub implements Components
Components
API service.
WARNING: Internal class, subject to change in future versions.
ComponentsTypes.CategoryType, ComponentsTypes.ComponentBundleType, ComponentsTypes.ComponentVersionSummary, ComponentsTypes.FilterSpec, ComponentsTypes.Summary, ComponentsTypes.UrgencyTypeapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
ComponentsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ComponentsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ComponentsTypes.Summary> |
list(ComponentsTypes.FilterSpec filter)
Returns a list of currently available components in the depot.
|
void |
list(ComponentsTypes.FilterSpec filter,
AsyncCallback<java.util.List<ComponentsTypes.Summary>> asyncCallback)
Returns a list of currently available components in the depot.
|
void |
list(ComponentsTypes.FilterSpec filter,
AsyncCallback<java.util.List<ComponentsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of currently available components in the depot.
|
java.util.List<ComponentsTypes.Summary> |
list(ComponentsTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns a list of currently available components in the depot.
|
public ComponentsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ComponentsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ComponentsTypes.Summary> list(ComponentsTypes.FilterSpec filter)
ComponentsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Componentsfilter - The specification of matching components.
If null, the behavior is equivalent to a ComponentsTypes.FilterSpec with all
properties null, which means ALL components match the filter.public java.util.List<ComponentsTypes.Summary> list(ComponentsTypes.FilterSpec filter, InvocationConfig invocationConfig)
ComponentsSynchronous 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 Componentsfilter - The specification of matching components.
If null, the behavior is equivalent to a ComponentsTypes.FilterSpec with all
properties null, which means ALL components match the filter.invocationConfig - Configuration for the method invocation.public void list(ComponentsTypes.FilterSpec filter, AsyncCallback<java.util.List<ComponentsTypes.Summary>> asyncCallback)
ComponentsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of components in the depot.
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read. list in interface Componentsfilter - The specification of matching components.
If null, the behavior is equivalent to a ComponentsTypes.FilterSpec with all
properties null, which means ALL components match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(ComponentsTypes.FilterSpec filter, AsyncCallback<java.util.List<ComponentsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
ComponentsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
List of components in the depot.
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read. list in interface Componentsfilter - The specification of matching components.
If null, the behavior is equivalent to a ComponentsTypes.FilterSpec with all
properties null, which means ALL components match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.