Enum Settings.StartPage
- java.lang.Object
-
- java.lang.Enum<Settings.StartPage>
-
- com.trivago.cluecumber.engine.constants.Settings.StartPage
-
- All Implemented Interfaces:
Serializable,Comparable<Settings.StartPage>
- Enclosing class:
- Settings
public static enum Settings.StartPage extends Enum<Settings.StartPage>
Defines all possible start pages.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_FEATURESThe feature overview page.ALL_SCENARIOSThe scenario overview page.ALL_STEPSThe step overview page.ALL_TAGSThe tag overview page.SCENARIO_SEQUENCEThe scenario sequence page.TREE_VIEWThe tree view page.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPageName()Get the name of the page.static Settings.StartPagevalueOf(String name)Returns the enum constant of this type with the specified name.static Settings.StartPage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_SCENARIOS
public static final Settings.StartPage ALL_SCENARIOS
The scenario overview page.
-
SCENARIO_SEQUENCE
public static final Settings.StartPage SCENARIO_SEQUENCE
The scenario sequence page.
-
ALL_TAGS
public static final Settings.StartPage ALL_TAGS
The tag overview page.
-
ALL_STEPS
public static final Settings.StartPage ALL_STEPS
The step overview page.
-
ALL_FEATURES
public static final Settings.StartPage ALL_FEATURES
The feature overview page.
-
TREE_VIEW
public static final Settings.StartPage TREE_VIEW
The tree view page.
-
-
Method Detail
-
values
public static Settings.StartPage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Settings.StartPage c : Settings.StartPage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Settings.StartPage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPageName
public String getPageName()
Get the name of the page.- Returns:
- The page name.
-
-