org.codehaus.mojo.emma
Class CheckConfiguration

java.lang.Object
  extended by org.codehaus.mojo.emma.CheckConfiguration

public class CheckConfiguration
extends Object

Check configuration, used by check goal.

Author:
Alexandre ROMAN
See Also:
EmmaCheckMojo

Nested Class Summary
static class CheckConfiguration.Regex
          A regex.
 
Constructor Summary
CheckConfiguration()
           
 
Method Summary
 int getBlockRate()
          gets the block rate.
 int getClassRate()
          Gets the class rate.
 int getLineRate()
          Gets the line rate.
 int getMethodRate()
          Gets the method rate.
 CheckConfiguration.Regex[] getRegexes()
          Gets the regexes.
 boolean isHaltOnFailure()
          Gets the halt on failure mode..
 void setBlockRate(int blockRate)
          Sets the block rate.
 void setClassRate(int classRate)
          Sets the class rate.
 void setHaltOnFailure(boolean haltOnFailure)
          Sets the halt on failure mode.
 void setLineRate(int lineRate)
          Sets the line rate.
 void setMethodRate(int methodRate)
          Sets the method rate.
 void setRegexes(CheckConfiguration.Regex[] regexes)
          Sets the regexes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckConfiguration

public CheckConfiguration()
Method Detail

getBlockRate

public int getBlockRate()
gets the block rate.

Returns:
the block rate.

setBlockRate

public void setBlockRate(int blockRate)
Sets the block rate.

Parameters:
blockRate - the block rate.

getClassRate

public int getClassRate()
Gets the class rate.

Returns:
the class rate.

setClassRate

public void setClassRate(int classRate)
Sets the class rate.

Parameters:
classRate - the class rate.

isHaltOnFailure

public boolean isHaltOnFailure()
Gets the halt on failure mode..

Returns:
true if the build should be failed on failure.

setHaltOnFailure

public void setHaltOnFailure(boolean haltOnFailure)
Sets the halt on failure mode.

Parameters:
haltOnFailure - the halt on failure mode.

getLineRate

public int getLineRate()
Gets the line rate.

Returns:
the line rate.

setLineRate

public void setLineRate(int lineRate)
Sets the line rate.

Parameters:
lineRate - The line rate.

getMethodRate

public int getMethodRate()
Gets the method rate.

Returns:
the method rate.

setMethodRate

public void setMethodRate(int methodRate)
Sets the method rate.

Parameters:
methodRate - the method rate.

getRegexes

public CheckConfiguration.Regex[] getRegexes()
Gets the regexes.

Returns:
the regexes.

setRegexes

public void setRegexes(CheckConfiguration.Regex[] regexes)
Sets the regexes.

Parameters:
regexes - The regexes.


Copyright © 2007-2012 Codehaus. All Rights Reserved.