public static enum Catalog.ResultCode extends java.lang.Enum<Catalog.ResultCode>
Enum Constant and Description |
---|
CODE_UNKNOWN |
ERROR_ALREADY_INSTALLED |
ERROR_ENTITY_NOT_FOUND |
ERROR_FAILED |
ERROR_INVALID_ENTITY |
ERROR_INVALID_LICENSE |
ERROR_INVALID_PACKAGE |
ERROR_PACKAGE_NOT_FOUND |
ERROR_SOURCE_NOT_FOUND |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static Catalog.ResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Catalog.ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Catalog.ResultCode SUCCESS
public static final Catalog.ResultCode ERROR_ALREADY_INSTALLED
public static final Catalog.ResultCode ERROR_INVALID_LICENSE
public static final Catalog.ResultCode ERROR_INVALID_PACKAGE
public static final Catalog.ResultCode ERROR_PACKAGE_NOT_FOUND
public static final Catalog.ResultCode ERROR_SOURCE_NOT_FOUND
public static final Catalog.ResultCode ERROR_ENTITY_NOT_FOUND
public static final Catalog.ResultCode ERROR_INVALID_ENTITY
public static final Catalog.ResultCode ERROR_FAILED
public static final Catalog.ResultCode CODE_UNKNOWN
public static Catalog.ResultCode[] values()
for (Catalog.ResultCode c : Catalog.ResultCode.values()) System.out.println(c);
public static Catalog.ResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null