public class Configuration extends Object
| Constructor and Description |
|---|
Configuration(File reportOutputDirectory,
String projectName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBuildNumber() |
File |
getEmbeddingDirectory() |
String |
getJenkinsBasePath() |
String |
getProjectName() |
File |
getReportDirectory() |
Collection<Pattern> |
getTagsToExcludeFromChart() |
int |
getTrendsLimit() |
File |
getTrendsStatsFile() |
boolean |
isParallelTesting() |
boolean |
isRunWithJenkins() |
void |
setBuildNumber(String buildNumber) |
void |
setJenkinsBasePath(String jenkinsBase) |
void |
setParallelTesting(boolean parallelTesting) |
void |
setRunWithJenkins(boolean runWithJenkins) |
void |
setTagsToExcludeFromChart(String... patterns)
Stores the regex patterns to be used for filtering out tags from the 'Tags Overview' chart
|
void |
setTrends(File trendsFile,
int trendsLimit)
Sets configuration for trends.
|
void |
setTrendsStatsFile(File trendsFile)
Calls
#setTrends(File, int)} with zero limit. |
public boolean isParallelTesting()
public void setParallelTesting(boolean parallelTesting)
public String getJenkinsBasePath()
public void setJenkinsBasePath(String jenkinsBase)
public boolean isRunWithJenkins()
public void setRunWithJenkins(boolean runWithJenkins)
public File getReportDirectory()
public File getTrendsStatsFile()
public void setTrendsStatsFile(File trendsFile)
#setTrends(File, int)} with zero limit.public int getTrendsLimit()
public void setTrends(File trendsFile, int trendsLimit)
trendsFile - file where information about previous builds is storedtrendsLimit - number of builds that should be presented (older builds are skipped)public String getBuildNumber()
public void setBuildNumber(String buildNumber)
public String getProjectName()
public File getEmbeddingDirectory()
public Collection<Pattern> getTagsToExcludeFromChart()
public void setTagsToExcludeFromChart(String... patterns) throws ValidationException
patterns - Regex patterns to match against tagsValidationException - when any of the given strings is not a valid regex pattern.Copyright © 2016. All rights reserved.