Class StartPageCollection
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.pagecollections.StartPageCollection
-
public class StartPageCollection extends Object
Necessary properties for the start page.
-
-
Constructor Summary
Constructors Constructor Description StartPageCollection(Settings.StartPage startPage, boolean redirectToFirstScenario)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Settings.StartPagegetStartPage()Return the start page.booleanisRedirectToFirstScenario()Should the start page redirect to the first scenario?
-
-
-
Constructor Detail
-
StartPageCollection
public StartPageCollection(Settings.StartPage startPage, boolean redirectToFirstScenario)
Default constructor.- Parameters:
startPage- TheSettings.StartPageenum.redirectToFirstScenario- true if it should redirect to the first scenario.
-
-
Method Detail
-
getStartPage
public Settings.StartPage getStartPage()
Return the start page.- Returns:
- The
Settings.StartPageenum.
-
isRedirectToFirstScenario
public boolean isRedirectToFirstScenario()
Should the start page redirect to the first scenario?- Returns:
- true if it should redirect to the first scenario.
-
-