hudson.plugins.findbugs
Class Module

java.lang.Object
  extended by hudson.plugins.findbugs.Module

public class Module
extends java.lang.Object


Constructor Summary
Module()
           
 
Method Summary
 void addClass(JavaClass javaClass)
           
 java.lang.String getEffort()
          Returns the effort.
 java.lang.String getName()
          Returns the name.
 int getNumberOfWarnings()
           
 int getNumberOfWarnings(java.lang.String packageName)
          Returns the number of warnings of the specified package.
 java.util.Collection<JavaPackage> getPackages()
           
 java.lang.String getThreshold()
          Returns the threshold.
 java.lang.String getVersion()
          Returns the version.
 java.util.Collection<Warning> getWarnings(java.lang.String packageName)
           
 void setEffort(java.lang.String effort)
          Sets the effort to the specified value.
 void setName(java.lang.String name)
          Sets the name to the specified value.
 void setThreshold(java.lang.String threshold)
          Sets the threshold to the specified value.
 void setVersion(java.lang.String version)
          Sets the version to the specified value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Module

public Module()
Method Detail

addClass

public void addClass(JavaClass javaClass)

getPackages

public java.util.Collection<JavaPackage> getPackages()

getNumberOfWarnings

public int getNumberOfWarnings()

getWarnings

public java.util.Collection<Warning> getWarnings(java.lang.String packageName)

getVersion

public java.lang.String getVersion()
Returns the version.

Returns:
the version

setVersion

public void setVersion(java.lang.String version)
Sets the version to the specified value.

Parameters:
version - the value to set

getThreshold

public java.lang.String getThreshold()
Returns the threshold.

Returns:
the threshold

setThreshold

public void setThreshold(java.lang.String threshold)
Sets the threshold to the specified value.

Parameters:
threshold - the value to set

getEffort

public java.lang.String getEffort()
Returns the effort.

Returns:
the effort

setEffort

public void setEffort(java.lang.String effort)
Sets the effort to the specified value.

Parameters:
effort - the value to set

getName

public java.lang.String getName()
Returns the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name to the specified value.

Parameters:
name - the value to set

getNumberOfWarnings

public int getNumberOfWarnings(java.lang.String packageName)
Returns the number of warnings of the specified package.

Parameters:
packageName - the package to return the warnings for
Returns:
number of warnings of the specified package.


Copyright © 2007. All Rights Reserved.