hudson.plugins.findbugs
Class FindBugsPlugin

java.lang.Object
  extended by hudson.Plugin
      extended by hudson.plugins.findbugs.FindBugsPlugin
All Implemented Interfaces:
hudson.model.Saveable

public class FindBugsPlugin
extends hudson.Plugin

Initializes the FindBugs messages, descriptions and detail view factory.

Author:
Ulli Hafner

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
FindBugsPlugin()
           
 
Method Summary
static boolean isFindBugs2x(org.apache.maven.plugin.MojoExecution mojoExecution)
          Returns whether the specified maven findbugs plug-in uses a FindBugs release 2.0.0 or newer.
 void start()
           
 
Methods inherited from class hudson.Plugin
configure, configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindBugsPlugin

public FindBugsPlugin()
Method Detail

start

public void start()
           throws IOException,
                  SAXException
Overrides:
start in class hudson.Plugin
Throws:
IOException
SAXException

isFindBugs2x

public static boolean isFindBugs2x(org.apache.maven.plugin.MojoExecution mojoExecution)
Returns whether the specified maven findbugs plug-in uses a FindBugs release 2.0.0 or newer.

Parameters:
mojoExecution - the maven version ID
Returns:
true if FindBugs 2.0.0 or newer is used


Copyright © 2004-2012 Hudson. All Rights Reserved.