hudson.plugins.findbugs
Class FindBugsResult

java.lang.Object
  extended by hudson.plugins.findbugs.FindBugsResult
All Implemented Interfaces:
hudson.model.ModelObject, java.io.Serializable

public class FindBugsResult
extends java.lang.Object
implements hudson.model.ModelObject, java.io.Serializable

Represents the results of the FindBugs analysis. One instance of this class is persisted for each build via an XML file.

See Also:
Serialized Form

Constructor Summary
FindBugsResult(int currentNumberOfWarnings, int previousNumberOfWarnings)
          Creates a new instance of FindBugsResult.
 
Method Summary
 int getDelta()
          Returns the delta.
 java.lang.String getDisplayName()
          
 int getNumberOfWarnings()
          Returns the numberOfWarnings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindBugsResult

public FindBugsResult(int currentNumberOfWarnings,
                      int previousNumberOfWarnings)
Creates a new instance of FindBugsResult.

Parameters:
currentNumberOfWarnings - current number of warnings
previousNumberOfWarnings - previous number of warnings
Method Detail

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.ModelObject

getNumberOfWarnings

public int getNumberOfWarnings()
Returns the numberOfWarnings.

Returns:
the numberOfWarnings

getDelta

public int getDelta()
Returns the delta.

Returns:
the delta


Copyright © 2007. All Rights Reserved.