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.
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.

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 © 2008. All Rights Reserved.