public class ConfigInstrumentation extends Object
Constructor and Description |
---|
ConfigInstrumentation()
Construct a new ConfigInstrumentation object.
|
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String exclude)
Add an Exclude to the underlying list.
|
void |
addIgnore(String ignore)
Add an Ignore to the underlying list.
|
void |
addIgnoreMethodAnnotation(String ignoreMethodAnnotation)
Add an IgnoreMethodAnnotation to the underlying list.
|
void |
addInclude(String include)
Add an Include ot the underlying list.
|
File |
getBasedir() |
List<String> |
getExcludes()
Get the Exclude List.
|
List<String> |
getIgnoreMethodAnnotations()
Get the ignoreMethodAnnotations setting.
|
List<String> |
getIgnores()
Get the Ignore List.
|
boolean |
getIgnoreTrivial()
Get the ignoreTrivial setting.
|
List<String> |
getIncludes()
Get the Include List.
|
String |
getMaxmem()
Get the maxmem setting.
|
void |
setBasedir(File basedir) |
void |
setIgnoreMethodAnnotations(List<String> ignoreMethodAnnotations)
IgnoreMethodAnnotation switch used to specify an annotation that, when present on a method,
will cause Cobertura to ignore the method in the coverage report.
|
void |
setIgnoreTrivial(boolean ignoreTrivial)
IgnoreTrivial switch that tells Cobertura to ignore the following in the coverage report:
Getter methods that simply read a class field; Setter methods that set a class field;
Constructors that only set class fields and call a super class constructor.
|
void |
setMaxmem(String maxmem)
Sets the max memory for the JVM used to run the
InstrumentationTask task. |
String |
toString() |
public ConfigInstrumentation()
public void addExclude(String exclude)
exclude
- the exlude string.public void addIgnore(String ignore)
ignore
- the ignore string.public void addIgnoreMethodAnnotation(String ignoreMethodAnnotation)
ignoreMethodAnnotation
- the ignore string.public void addInclude(String include)
include
- the include string.public File getBasedir()
public void setBasedir(File basedir)
basedir
- The basedir to set.public String getMaxmem()
public void setMaxmem(String maxmem)
InstrumentationTask
task.
The format is "maxmem
- the value to which maxmem will be setpublic boolean getIgnoreTrivial()
public void setIgnoreTrivial(boolean ignoreTrivial)
ignoreTrivial
- enable ignoreTrivialpublic List<String> getIgnoreMethodAnnotations()
public void setIgnoreMethodAnnotations(List<String> ignoreMethodAnnotations)
ignoreMethodAnnotations
- Copyright © 2005–2015 Codehaus. All rights reserved.