Class PropertyManager
- java.lang.Object
-
- com.trivago.cluecumber.engine.properties.PropertyManager
-
@Singleton public class PropertyManager extends Object
-
-
Constructor Summary
Constructors Constructor Description PropertyManager(CluecumberLogger logger, FileIO fileIO, PropertiesFileLoader propertiesFileLoader)
-
Method Summary
-
-
-
Constructor Detail
-
PropertyManager
@Inject public PropertyManager(CluecumberLogger logger, FileIO fileIO, PropertiesFileLoader propertiesFileLoader)
-
-
Method Detail
-
getSourceJsonReportDirectory
public String getSourceJsonReportDirectory()
-
setSourceJsonReportDirectory
public void setSourceJsonReportDirectory(String sourceJsonReportDirectory) throws WrongOrMissingPropertyException
- Throws:
WrongOrMissingPropertyException
-
getGeneratedHtmlReportDirectory
public String getGeneratedHtmlReportDirectory()
-
setGeneratedHtmlReportDirectory
public void setGeneratedHtmlReportDirectory(String generatedHtmlReportDirectory) throws WrongOrMissingPropertyException
- Throws:
WrongOrMissingPropertyException
-
getCustomParametersFile
public String getCustomParametersFile()
-
setCustomParametersFile
public void setCustomParametersFile(String customParametersFile) throws CluecumberException
- Throws:
CluecumberException
-
getCustomParametersDisplayMode
public PluginSettings.CustomParamDisplayMode getCustomParametersDisplayMode()
-
setCustomParametersDisplayMode
public void setCustomParametersDisplayMode(String customParametersDisplayMode)
-
setCustomNavigationLinks
public void setCustomNavigationLinks(Map<String,String> customNavigationLinks)
-
isFailScenariosOnPendingOrUndefinedSteps
public boolean isFailScenariosOnPendingOrUndefinedSteps()
-
setFailScenariosOnPendingOrUndefinedSteps
public void setFailScenariosOnPendingOrUndefinedSteps(boolean failScenariosOnPendingOrUndefinedSteps)
-
isExpandBeforeAfterHooks
public boolean isExpandBeforeAfterHooks()
-
setExpandBeforeAfterHooks
public void setExpandBeforeAfterHooks(boolean expandBeforeAfterHooks)
-
isExpandStepHooks
public boolean isExpandStepHooks()
-
setExpandStepHooks
public void setExpandStepHooks(boolean expandStepHooks)
-
isExpandDocStrings
public boolean isExpandDocStrings()
-
setExpandDocStrings
public void setExpandDocStrings(boolean expandDocStrings)
-
isExpandAttachments
public boolean isExpandAttachments()
-
setExpandAttachments
public void setExpandAttachments(boolean expandAttachments)
-
getCustomCssFile
public String getCustomCssFile()
-
setCustomCssFile
public void setCustomCssFile(String customCssFile) throws MissingFileException
- Throws:
MissingFileException
-
getCustomStatusColorPassed
public String getCustomStatusColorPassed()
-
setCustomStatusColorPassed
public void setCustomStatusColorPassed(String customStatusColorPassed) throws WrongOrMissingPropertyException
- Throws:
WrongOrMissingPropertyException
-
getCustomStatusColorFailed
public String getCustomStatusColorFailed()
-
setCustomStatusColorFailed
public void setCustomStatusColorFailed(String customStatusColorFailed) throws WrongOrMissingPropertyException
- Throws:
WrongOrMissingPropertyException
-
getCustomStatusColorSkipped
public String getCustomStatusColorSkipped()
-
setCustomStatusColorSkipped
public void setCustomStatusColorSkipped(String customStatusColorSkipped) throws WrongOrMissingPropertyException
- Throws:
WrongOrMissingPropertyException
-
getCustomPageTitle
public String getCustomPageTitle()
-
setCustomPageTitle
public void setCustomPageTitle(String customPageTitle)
-
logProperties
public void logProperties()
-
getStartPage
public PluginSettings.StartPage getStartPage()
-
setStartPage
public void setStartPage(String startPage)
-
-