public enum ScopeTest extends Enum<ScopeTest> implements grasp.util.IDLabelEnum
Enum Constant and Description |
---|
FULL
Indicates a full scope test.
|
METHOD
Indicates a method name only test.
|
NONE
Indicates no test.
|
Modifier and Type | Method and Description |
---|---|
static ScopeTest |
getDefault()
Gets the default test type.
|
String |
getID()
Gets the id.
|
int |
getIndex()
Gets the settings index.
|
String |
getLabel()
Gets the label.
|
boolean |
isDefault()
Determines if this is the default test type.
|
static ScopeTest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeTest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeTest FULL
public static final ScopeTest METHOD
public static final ScopeTest NONE
public static ScopeTest[] values()
for (ScopeTest c : ScopeTest.values()) System.out.println(c);
public static ScopeTest 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 ScopeTest getDefault()
public String getID()
getID
in interface grasp.util.IDEnum
public int getIndex()
getIndex
in interface grasp.util.IDEnum
public String getLabel()
getLabel
in interface grasp.util.LabelEnum
public boolean isDefault()