public static enum ActivityConstants.TestMode extends java.lang.Enum<ActivityConstants.TestMode>
| Enum Constant and Description |
|---|
NO_TEST
The component does not support any kind of test mode.
|
TEST_CONFIGURATION
The component requirers an explicit configuration for testing.
|
TEST_FLAG
The component can operate in a test mode, if required to.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ActivityConstants.TestMode |
valueOf(int code) |
static ActivityConstants.TestMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActivityConstants.TestMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityConstants.TestMode NO_TEST
public static final ActivityConstants.TestMode TEST_FLAG
public static final ActivityConstants.TestMode TEST_CONFIGURATION
public static ActivityConstants.TestMode[] values()
for (ActivityConstants.TestMode c : ActivityConstants.TestMode.values()) System.out.println(c);
public static ActivityConstants.TestMode 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 nullpublic int getCode()
public static ActivityConstants.TestMode valueOf(int code)