public static enum FactoryGlobal.ReturnCode extends java.lang.Enum<FactoryGlobal.ReturnCode>
Enum Constant and Description |
---|
ALREADY_EXISTS |
FACTORY_ERROR |
FACTORY_OK |
INVALID_ARG |
NOT_FOUND |
UNKNOWN_ERROR |
Modifier and Type | Method and Description |
---|---|
static FactoryGlobal.ReturnCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FactoryGlobal.ReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FactoryGlobal.ReturnCode FACTORY_OK
public static final FactoryGlobal.ReturnCode FACTORY_ERROR
public static final FactoryGlobal.ReturnCode ALREADY_EXISTS
public static final FactoryGlobal.ReturnCode NOT_FOUND
public static final FactoryGlobal.ReturnCode INVALID_ARG
public static final FactoryGlobal.ReturnCode UNKNOWN_ERROR
public static FactoryGlobal.ReturnCode[] values()
for (FactoryGlobal.ReturnCode c : FactoryGlobal.ReturnCode.values()) System.out.println(c);
public static FactoryGlobal.ReturnCode 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