public class Configuration extends Object
| Constructor and Description |
|---|
Configuration(File reportOutputDirectory,
String projectName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassifications(String name,
String value)
Adds metadata that will be displayed at the main page of the report.
|
String |
getBuildNumber() |
List<Map.Entry<String,String>> |
getClassifications()
Returns the classification for the report.
|
File |
getEmbeddingDirectory() |
String |
getProjectName() |
File |
getReportDirectory() |
Collection<Pattern> |
getTagsToExcludeFromChart() |
int |
getTrendsLimit() |
File |
getTrendsStatsFile() |
boolean |
isParallelTesting() |
boolean |
isRunWithJenkins() |
boolean |
isTrendsStatsFile()
Checks if the file for the trends was set.
|
void |
setBuildNumber(String buildNumber) |
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 boolean isRunWithJenkins()
public void setRunWithJenkins(boolean runWithJenkins)
public File getReportDirectory()
public File getTrendsStatsFile()
public boolean isTrendsStatsFile()
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)
patterns - Regex patterns to match against tagsValidationException - when any of the given strings is not a valid regex pattern.public void addClassifications(String name, String value)
name - name of the propertyvalue - value of the propertyCopyright © 2017. All rights reserved.