| Package | Description |
|---|---|
| com.vmware.vapi |
The
com.vmware.vapi component provides API infrastructure interfaces and
standard types that can be used in the interface specification of any interface. |
| com.vmware.vapi.bindings.convert | |
| com.vmware.vapi.data | |
| com.vmware.vapi.dsig.json | |
| com.vmware.vapi.std |
The
com.vmware.vapi.std package provides standard types that can be used
in the interface specification of any interface. |
| Modifier and Type | Method and Description |
|---|---|
Message |
MessageFactory.buildMessage(String id,
String... args)
Return a message object for the given id with the given args.
|
static Message |
MessageFactory.getMessage(String id,
String... args)
Return a message object for the given id with the given args.
|
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
CoreException.getExceptionMessages() |
| Modifier and Type | Method and Description |
|---|---|
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
Message... messages) |
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
Message mainMessage,
List<Message> details) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
List<Message> messages) |
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
Message mainMessage,
List<Message> details) |
| Constructor and Description |
|---|
CoreException(Message message) |
CoreException(Message message,
Throwable cause) |
| Constructor and Description |
|---|
ConverterException(Message message) |
ConverterException(Message message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
StructRefDefinition.validate(DataValue value) |
List<Message> |
StructDefinition.validate(DataValue value)
Validates that the specified
DataValue is an instance of this
data definition. |
List<Message> |
OptionalDefinition.validate(DataValue value)
Validates that the specified
DataValue is an instance of this
data definition. |
List<Message> |
OpaqueDefinition.validate(DataValue value)
Validates that the specified DataValue is an instance of this data
definition.
|
List<Message> |
ListDefinition.validate(DataValue value)
Validates that the specified
DataValue is an instance of this
data definition. |
List<Message> |
DynamicStructDefinition.validate(DataValue value)
Validates that the specified
DataValue is an instance of this
data definition. |
List<Message> |
DataDefinition.validate(DataValue value)
Validates that the specified
DataValue is an instance of this
data definition. |
List<Message> |
AnyErrorDefinition.validate(DataValue value)
Validates that the specified
DataValue is an instance of this
data definition. |
| Constructor and Description |
|---|
ConstraintValidationException(Message message) |
ConstraintValidationException(Message message,
Throwable cause) |
| Constructor and Description |
|---|
SignatureException(Message message) |
SignatureException(Message message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static List<Message> |
StandardDataFactory.getMessagesFromErrorValue(StructValue error)
Returns messages associated with the specified standard error
ErrorValue represented as list of Messages. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorValue |
StandardDataFactory.createErrorValueForMessages(ErrorDefinition errorDef,
List<Message> messages)
Creates instance for given error definition and list of
Messages. |
static ErrorValue |
StandardDataFactory.createErrorValueForMessages(String errorName,
List<Message> messages)
Creates a standard error
ErrorValue instance for the given
name list of Messages. |
Copyright © 2023. All rights reserved.