hudson.plugins.violations.types.findbugs
Class FindBugsDescriptor

java.lang.Object
  extended by hudson.plugins.violations.TypeDescriptor
      extended by hudson.plugins.violations.types.findbugs.FindBugsDescriptor

public final class FindBugsDescriptor
extends TypeDescriptor

The descriptor class for findbugs violations type.


Field Summary
static FindBugsDescriptor DESCRIPTOR
          The descriptor for the findbugs violations type.
 
Fields inherited from class hudson.plugins.violations.TypeDescriptor
TYPES
 
Method Summary
 AbstractTypeParser createParser()
          Create a parser for the findbugs.
 java.lang.String getDetailForSource(java.lang.String source)
          Get a detailed description of a violation source.
 java.util.List<java.lang.String> getMavenTargets()
          Get a list of target xml files to look for for this particular type.
static java.util.Map<java.lang.String,java.lang.String> getMessageMap()
          Get the map of cause to message.
 
Methods inherited from class hudson.plugins.violations.TypeDescriptor
addDescriptor, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

public static final FindBugsDescriptor DESCRIPTOR
The descriptor for the findbugs violations type.

Method Detail

createParser

public AbstractTypeParser createParser()
Create a parser for the findbugs.

Specified by:
createParser in class TypeDescriptor
Returns:
a new findbugs parser.

getMavenTargets

public java.util.List<java.lang.String> getMavenTargets()
Get a list of target xml files to look for for this particular type.

Overrides:
getMavenTargets in class TypeDescriptor
Returns:
a list filenames to look for in the target target directory.

getDetailForSource

public java.lang.String getDetailForSource(java.lang.String source)
Get a detailed description of a violation source.

Overrides:
getDetailForSource in class TypeDescriptor
Parameters:
source - the code name of the violation.
Returns:
a detailed description, if available, null otherwise.

getMessageMap

public static java.util.Map<java.lang.String,java.lang.String> getMessageMap()
Get the map of cause to message.

Returns:
the map.


Copyright © 2004-2012. All Rights Reserved.