public enum Flag extends Enum<Flag> implements org.eclipse.emf.common.util.Enumerator
IDefinitionPackage.getFlag()
Enum Constant and Description |
---|
PREFERRED_ENGINE_ID
The 'PREFERRED ENGINE ID' literal object.
|
PROMOTE_FAILURE_TO_ERROR
The 'PROMOTE FAILURE TO ERROR' literal object.
|
RUN_TEARDOWN_ON_ERROR
The 'RUN TEARDOWN ON ERROR' literal object.
|
STOP_SUITE_ON_ERROR
The 'STOP SUITE ON ERROR' literal object.
|
THREAD_COUNT
The 'THREAD COUNT' literal object.
|
UNDEFINED
The 'UNDEFINED' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
PREFERRED_ENGINE_ID_VALUE
The 'PREFERRED ENGINE ID' literal value.
|
static int |
PROMOTE_FAILURE_TO_ERROR_VALUE
The 'PROMOTE FAILURE TO ERROR' literal value.
|
static int |
RUN_TEARDOWN_ON_ERROR_VALUE
The 'RUN TEARDOWN ON ERROR' literal value.
|
static int |
STOP_SUITE_ON_ERROR_VALUE
The 'STOP SUITE ON ERROR' literal value.
|
static int |
THREAD_COUNT_VALUE
The 'THREAD COUNT' literal value.
|
static int |
UNDEFINED_VALUE
The 'UNDEFINED' literal value.
|
static List<Flag> |
VALUES
A public read-only list of all the 'Flag' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static Flag |
get(int value)
Returns the 'Flag' literal with the specified integer value.
|
static Flag |
get(String literal)
Returns the 'Flag' literal with the specified literal value.
|
static Flag |
getByName(String name)
Returns the 'Flag' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flag UNDEFINED
UNDEFINED_VALUE
public static final Flag THREAD_COUNT
THREAD_COUNT_VALUE
public static final Flag PROMOTE_FAILURE_TO_ERROR
PROMOTE_FAILURE_TO_ERROR_VALUE
public static final Flag STOP_SUITE_ON_ERROR
STOP_SUITE_ON_ERROR_VALUE
public static final Flag RUN_TEARDOWN_ON_ERROR
RUN_TEARDOWN_ON_ERROR_VALUE
public static final Flag PREFERRED_ENGINE_ID
PREFERRED_ENGINE_ID_VALUE
public static final int UNDEFINED_VALUE
If the meaning of 'UNDEFINED' literal object isn't clear, there really should be more of a description here...
UNDEFINED
,
Constant Field Valuespublic static final int THREAD_COUNT_VALUE
If the meaning of 'THREAD COUNT' literal object isn't clear, there really should be more of a description here...
THREAD_COUNT
,
Constant Field Valuespublic static final int PROMOTE_FAILURE_TO_ERROR_VALUE
If the meaning of 'PROMOTE FAILURE TO ERROR' literal object isn't clear, there really should be more of a description here...
PROMOTE_FAILURE_TO_ERROR
,
Constant Field Valuespublic static final int STOP_SUITE_ON_ERROR_VALUE
If the meaning of 'STOP SUITE ON ERROR' literal object isn't clear, there really should be more of a description here...
STOP_SUITE_ON_ERROR
,
Constant Field Valuespublic static final int RUN_TEARDOWN_ON_ERROR_VALUE
If the meaning of 'RUN TEARDOWN ON ERROR' literal object isn't clear, there really should be more of a description here...
RUN_TEARDOWN_ON_ERROR
,
Constant Field Valuespublic static final int PREFERRED_ENGINE_ID_VALUE
If the meaning of 'PREFERRED ENGINE ID' literal object isn't clear, there really should be more of a description here...
PREFERRED_ENGINE_ID
,
Constant Field Valuespublic static Flag[] values()
for (Flag c : Flag.values()) System.out.println(c);
public static Flag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Flag get(String literal)
literal
- the literal.null
.public static Flag getByName(String name)
name
- the name.null
.public static Flag get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator