org.codehaus.mojo.cobertura.configuration
Class ConfigInstrumentation

java.lang.Object
  extended by org.codehaus.mojo.cobertura.configuration.ConfigInstrumentation

public class ConfigInstrumentation
extends Object

The Configuration for the Instrumentation.

Author:
Joakim Erdfelt

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 addInclude(String include)
          Add an Include ot the underlying list.
 File getBasedir()
           
 List<String> getExcludes()
          Get the Exclude List.
 List<String> getIgnores()
          Get the Ignore List.
 List<String> getIncludes()
          Get the Include List.
 String getMaxmem()
          Get the maxmem setting.
 void setBasedir(File basedir)
           
 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

ConfigInstrumentation

public ConfigInstrumentation()
Construct a new ConfigInstrumentation object.

Method Detail

addExclude

public void addExclude(String exclude)
Add an Exclude to the underlying list.

Parameters:
exclude - the exlude string.

addIgnore

public void addIgnore(String ignore)
Add an Ignore to the underlying list.

Parameters:
ignore - the ignore string.

addInclude

public void addInclude(String include)
Add an Include ot the underlying list.

Parameters:
include - the include string.

getBasedir

public File getBasedir()
Returns:
Returns the basedir.

getExcludes

public List<String> getExcludes()
Get the Exclude List.

Returns:
the exlude list.

getIgnores

public List<String> getIgnores()
Get the Ignore List.

Returns:
the ignore list.

getIncludes

public List<String> getIncludes()
Get the Include List.

Returns:
the include list.

setBasedir

public void setBasedir(File basedir)
Parameters:
basedir - The basedir to set.

getMaxmem

public String getMaxmem()
Get the maxmem setting.

Returns:
the maxmem setting.

setMaxmem

public void setMaxmem(String maxmem)
Sets the max memory for the JVM used to run the InstrumentationTask task. The format is "". Ex: "64m" where 64 is the value, and "m" denotes megabytes.

Parameters:
maxmem - the value to which maxmem will be set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2005-2014 Codehaus. All Rights Reserved.