public static final class ParseIssue.Category extends ApiEnumeration<ParseIssue.Category>
Category
enumeration class defines the categories of issues that can
be found when parsing files inside an OVF package (see ParseIssue
) including OVF descriptor (which is an XML
document), manifest and certificate files, or exporting an OVF package.
Modifier and Type | Class and Description |
---|---|
static class |
ParseIssue.Category.Values
Native Java
enum representing this enumeration class. |
Modifier and Type | Field and Description |
---|---|
static ParseIssue.Category |
ATTRIBUTE_ILLEGAL
Illegal attribute error.
|
static ParseIssue.Category |
ATTRIBUTE_REQUIRED
Required attribute error.
|
static ParseIssue.Category |
ELEMENT_ILLEGAL
Illegal element error.
|
static ParseIssue.Category |
ELEMENT_REQUIRED
Required element error.
|
static ParseIssue.Category |
ELEMENT_UNKNOWN
Unknown element error.
|
static ParseIssue.Category |
EXPORT_ERROR
Issue during OVF export, for example, malformed deviceId, controller not found,
or file backing for a device not found.
|
static ParseIssue.Category |
GENERATE_ERROR
OVF descriptor (which is an XML document) generating error, for example,
well-formedness errors as well as unexpected processing conditions.
|
static ParseIssue.Category |
INTERNAL_ERROR
Server encountered an unexpected error which prevented it from fulfilling the
request.
|
static ParseIssue.Category |
PARSE_ERROR
OVF package parsing error, including: OVF descriptor parsing errors,
for example, syntax errors or schema errors.
|
static ParseIssue.Category |
SECTION_RESTRICTION
Section restriction error.
|
static ParseIssue.Category |
SECTION_UNKNOWN
Section unknown error.
|
static ParseIssue.Category |
VALIDATION_ERROR
An issue with the manifest and signing.
|
static ParseIssue.Category |
VALUE_ILLEGAL
Illegal value error.
|
Modifier and Type | Method and Description |
---|---|
ParseIssue.Category.Values |
getEnumValue()
Returns a native Java
enum constant representing this enumeration
constant. |
boolean |
isUnknown()
Checks if this enumeration constant is unknown.
|
static ParseIssue.Category |
valueOf(java.lang.String name)
Returns the enumeration constant for the specified name.
|
static ParseIssue.Category[] |
values()
Retrieve all enumeration constants pre-defined by this enumeration class.
|
buildNameMap, equals, hashCode, name, toString
public static final ParseIssue.Category VALUE_ILLEGAL
public static final ParseIssue.Category ATTRIBUTE_REQUIRED
public static final ParseIssue.Category ATTRIBUTE_ILLEGAL
public static final ParseIssue.Category ELEMENT_REQUIRED
public static final ParseIssue.Category ELEMENT_ILLEGAL
public static final ParseIssue.Category ELEMENT_UNKNOWN
public static final ParseIssue.Category SECTION_UNKNOWN
public static final ParseIssue.Category SECTION_RESTRICTION
public static final ParseIssue.Category PARSE_ERROR
public static final ParseIssue.Category GENERATE_ERROR
public static final ParseIssue.Category VALIDATION_ERROR
public static final ParseIssue.Category EXPORT_ERROR
public static final ParseIssue.Category INTERNAL_ERROR
public static ParseIssue.Category[] values()
Additional instances might exist at runtime, for example to represent a
new constant added to this enumeration class in subsequent version of the
API. Such new constant is represented as instance of ParseIssue.Category
but is not pre-defined.
null
.public static ParseIssue.Category valueOf(java.lang.String name)
If the name matches exactly the identifier used to declare an enumeration constant from this enumeration class, the constant in question will be returned.
Otherwise, a new instance of ParseIssue.Category
will be returned for the
specified name, which will not be one of the pre-defined constant
instances. Such new instance maps to the ParseIssue.Category.Values._UNKNOWN
enum
constant from the native Java enum
.
name
- The name of the constant to return. Must not be null
.null
.public boolean isUnknown()
valueOf(java.lang.String)
and values()
.true
if this constant is unknown, and false
otherwise.public ParseIssue.Category.Values getEnumValue()
enum
constant representing this enumeration
constant. The result is useful for usual handling of Java enum
,
for example it can be used in switch
statements.
If this enumeration constant is unknown, then ParseIssue.Category.Values._UNKNOWN
enum
constant is returned.
The native Java enum
is ParseIssue.Category.Values
.
enum
constant. Never null
.