Class CurrentStory
- java.lang.Object
-
- de.telekom.test.bddwebapp.stories.customizing.CurrentStory
-
@Component public class CurrentStory extends Object
Gives access to the current story about the Spring Context- Author:
- Daniel Keiss <daniel.keiss@telekom.de>, Marc Eckart - Initial implementation of current story bean
Copyright (c) 2020 Daniel Keiss, Deutsche Telekom IT GmbH This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.
-
-
Constructor Summary
Constructors Constructor Description CurrentStory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Class<? extends WebDriverConfiguration>>getAlternativeWebDriverConfiguration()ClassgetStoryClass()org.jbehave.core.model.MetagetStoryMetaData()StringgetStoryName()StringgetStoryPath()booleanisRestartBrowserBeforeScenario()voidsetStoryMetaData(org.jbehave.core.model.Meta storyMetaData)voidsetStoryPath(String storyPath)
-
-
-
Method Detail
-
getStoryPath
public String getStoryPath()
-
setStoryPath
public void setStoryPath(String storyPath)
-
getStoryMetaData
public org.jbehave.core.model.Meta getStoryMetaData()
-
setStoryMetaData
public void setStoryMetaData(org.jbehave.core.model.Meta storyMetaData)
-
getStoryName
public String getStoryName()
-
getStoryClass
public Class getStoryClass()
-
isRestartBrowserBeforeScenario
public boolean isRestartBrowserBeforeScenario()
-
getAlternativeWebDriverConfiguration
public Optional<Class<? extends WebDriverConfiguration>> getAlternativeWebDriverConfiguration()
-
-