Enums in java:
---------------
An enum is a special "class" that represents a group of constants (unchangeable variables, like final variables).
To create an enum, use the enum keyword (instead of class or interface), and separate the constants with a comma.
public enum TestCaseActivity {
PASS("1"),//public static final TCSTATUS PASS;
FAIL("2"),
SKIP("3"),
MEDIUM_WAIT("3000"),
HIGH_WAIT("6000"),
LOW_WAIT("1000"),
IE("ie"),
CHROME("chrome"),
FIREFOX("firefox"),
EDGE("edge"),
PHANTOMJS("phantom");
private String activity;
private TestCaseActivity(String activity){
this.activity = activity;
}
public String getActivity() {
return activity;
}
}