hudson.plugins.findbugs.parser.maven
Class File

java.lang.Object
  extended by hudson.plugins.findbugs.parser.maven.File

public class File
extends java.lang.Object

Java Bean class for a file of the maven FindBugs format.

Author:
Ulli Hafner

Constructor Summary
File()
           
 
Method Summary
 void addBugInstance(BugInstance bugInstance)
          Adds a new bug instance to this class.
 boolean equals(java.lang.Object obj)
          
 java.util.Collection<BugInstance> getBugInstances()
          Returns all bug instances of this file.
 java.lang.String getClassname()
          Returns the class name.
 int hashCode()
          
 void setClassname(java.lang.String classname)
          Sets the class name to the specified value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File

public File()
Method Detail

addBugInstance

public void addBugInstance(BugInstance bugInstance)
Adds a new bug instance to this class.

Parameters:
bugInstance - the new bug instance

getBugInstances

public java.util.Collection<BugInstance> getBugInstances()
Returns all bug instances of this file. The returned collection is read-only.

Returns:
all warnings in this class

getClassname

public java.lang.String getClassname()
Returns the class name.

Returns:
the class name

setClassname

public void setClassname(java.lang.String classname)
Sets the class name to the specified value.

Parameters:
classname - the value to set

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object


Copyright © 2010. All Rights Reserved.