|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.cobertura.configuration.ConfigInstrumentation
public class ConfigInstrumentation
The Configuration for the Instrumentation.
| Constructor Summary | |
|---|---|
ConfigInstrumentation()
Construct a new ConfigInstrumentation object. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigInstrumentation()
| Method Detail |
|---|
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 List<String> getExcludes()
public List<String> getIgnores()
public List<String> getIncludes()
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 - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||