public class ConfigCheck extends Object
Constructor and Description |
---|
ConfigCheck() |
Modifier and Type | Method and Description |
---|---|
void |
addRegex(Regex regex)
add a regex to the set used to scan the reports.
|
Regex |
createRegex()
Create a regex object for eventual inclusion.
|
String |
getBranchRate() |
String |
getLineRate() |
String |
getMaxmem()
Get the maxmem setting.
|
String |
getPackageBranchRate() |
String |
getPackageLineRate() |
Set<Regex> |
getRegexes() |
String |
getTotalBranchRate() |
String |
getTotalLineRate() |
boolean |
isHaltOnFailure() |
void |
setBranchRate(String branchRate) |
void |
setHaltOnFailure(boolean haltOnFailure) |
void |
setLineRate(String lineRate) |
void |
setMaxmem(String maxmem)
Sets the max memory for the JVM used to run the
CheckTask task. |
void |
setRegexes(Set<Regex> regexes) |
void |
setTotalBranchRate(String totalBranchRate) |
void |
setTotalLineRate(String totalLineRate) |
public void addRegex(Regex regex)
regex
- the regex to add.public Regex createRegex()
public String getBranchRate()
public String getLineRate()
public String getTotalBranchRate()
public String getTotalLineRate()
public boolean isHaltOnFailure()
public void setBranchRate(String branchRate)
branchRate
- The branchRate to set.public void setHaltOnFailure(boolean haltOnFailure)
haltOnFailure
- The haltOnFailure to set.public void setLineRate(String lineRate)
lineRate
- The lineRate to set.public void setTotalBranchRate(String totalBranchRate)
totalBranchRate
- The totalBranchRate to set.public void setTotalLineRate(String totalLineRate)
totalLineRate
- The totalLineRate to set.public String getPackageBranchRate()
public String getPackageLineRate()
public String getMaxmem()
public void setMaxmem(String maxmem)
CheckTask
task.
The format is "maxmem
- the value to which maxmem will be setCopyright © 2005–2015 Codehaus. All rights reserved.