public enum TestCategory extends Enum<TestCategory>
Enum Constant and Description |
---|
PERFORMANCE |
UI_DRIVEN |
UNIT |
WEB_API |
Modifier and Type | Method and Description |
---|---|
static TestCategory |
fromString(String id) |
String |
getId() |
String |
toString() |
static TestCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestCategory UNIT
public static final TestCategory UI_DRIVEN
public static final TestCategory PERFORMANCE
public static final TestCategory WEB_API
public static TestCategory[] values()
for (TestCategory c : TestCategory.values()) System.out.println(c);
public static TestCategory 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 String getId()
public String toString()
toString
in class Enum<TestCategory>
public static TestCategory fromString(String id)
Copyright © 2016–2020. All rights reserved.