public interface Resource extends Service, ResourceTypes
Resource
interface provides
methods to retrieve information about resource types.
A service is a logical grouping of operations that operate on an entity. Each entity is identifier by a namespace (or resource type) and an unique identifier.
RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
list()
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
void |
list(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback)
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
void |
list(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
java.util.Set<java.lang.String> |
list(InvocationConfig invocationConfig)
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
java.util.Set<java.lang.String> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.resource
.java.util.Set<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.resource
.void list(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Set of resource types
The return value will contain identifiers for the resource type: com.vmware.vapi.resource
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.Set<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:
Set of resource types
The return value will contain identifiers for the resource type: com.vmware.vapi.resource
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.