public class EnumerationStub extends com.vmware.vapi.internal.bindings.Stub implements Enumeration
Enumeration
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
EnumerationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
EnumerationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
EnumerationInfo |
get(java.lang.String enumerationId)
Retrieves information about the enumeration element corresponding to
enumerationId . |
void |
get(java.lang.String enumerationId,
AsyncCallback<EnumerationInfo> asyncCallback)
Retrieves information about the enumeration element corresponding to
enumerationId . |
void |
get(java.lang.String enumerationId,
AsyncCallback<EnumerationInfo> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the enumeration element corresponding to
enumerationId . |
EnumerationInfo |
get(java.lang.String enumerationId,
InvocationConfig invocationConfig)
Retrieves information about the enumeration element corresponding to
enumerationId . |
java.util.List<java.lang.String> |
list()
Returns the identifiers for the enumeration elements that are contained in all
the package elements, service elements and structure elements.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Returns the identifiers for the enumeration elements that are contained in all
the package elements, service elements and structure elements.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers for the enumeration elements that are contained in all
the package elements, service elements and structure elements.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Returns the identifiers for the enumeration elements that are contained in all
the package elements, service elements and structure elements.
|
public EnumerationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public EnumerationStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<java.lang.String> list()
Enumeration
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Enumeration
com.vmware.vapi.enumeration
.public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Enumeration
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 Enumeration
invocationConfig
- Configuration for the method invocation.com.vmware.vapi.enumeration
.public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Enumeration
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of identifiers for the enumeration elements.
The return value will contain identifiers for the resource type: com.vmware.vapi.enumeration
.
list
in interface Enumeration
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Enumeration
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 list of identifiers for the enumeration elements.
The return value will contain identifiers for the resource type: com.vmware.vapi.enumeration
.
list
in interface Enumeration
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public EnumerationInfo get(java.lang.String enumerationId)
Enumeration
enumerationId
.
The EnumerationInfo
contains the metamodel
information about the enumeration value element contained in the enumeration
element.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Enumeration
enumerationId
- Identifier of the enumeration element.
The parameter must be an identifier for the resource type: com.vmware.vapi.enumeration
.EnumerationInfo
instance that
corresponds to enumerationId
public EnumerationInfo get(java.lang.String enumerationId, InvocationConfig invocationConfig)
Enumeration
enumerationId
.
The EnumerationInfo
contains the metamodel
information about the enumeration value element contained in the enumeration
element.
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 Enumeration
enumerationId
- Identifier of the enumeration element.
The parameter must be an identifier for the resource type: com.vmware.vapi.enumeration
.invocationConfig
- Configuration for the method invocation.EnumerationInfo
instance that
corresponds to enumerationId
public void get(java.lang.String enumerationId, AsyncCallback<EnumerationInfo> asyncCallback)
Enumeration
enumerationId
.
The EnumerationInfo
contains the metamodel
information about the enumeration value element contained in the enumeration
element.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The EnumerationInfo
instance that
corresponds to enumerationId
Operation Errors:
NotFound
- if the enumeration element associated with enumerationId
is not
contained in any of the package elements, service elements and structure
elements.
get
in interface Enumeration
enumerationId
- Identifier of the enumeration element.
The parameter must be an identifier for the resource type: com.vmware.vapi.enumeration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String enumerationId, AsyncCallback<EnumerationInfo> asyncCallback, InvocationConfig invocationConfig)
Enumeration
enumerationId
.
The EnumerationInfo
contains the metamodel
information about the enumeration value element contained in the enumeration
element.
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 EnumerationInfo
instance that
corresponds to enumerationId
Operation Errors:
NotFound
- if the enumeration element associated with enumerationId
is not
contained in any of the package elements, service elements and structure
elements.
get
in interface Enumeration
enumerationId
- Identifier of the enumeration element.
The parameter must be an identifier for the resource type: com.vmware.vapi.enumeration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.