hudson.plugins.emailext.plugins.content
Class StaticAnalysisUtilities

java.lang.Object
  extended by hudson.plugins.emailext.plugins.content.StaticAnalysisUtilities

public class StaticAnalysisUtilities
extends Object

Provides some helper methods to integrate the static analysis plug-ins into email-ext. Methods of this class will throw ClassNotFoundException if the analysis-core plug-in is not installed.

Author:
Ulli Hafner

Constructor Summary
StaticAnalysisUtilities()
           
 
Method Summary
 List<hudson.model.Action> getActions(hudson.model.AbstractBuild<?,?> build)
          Returns all build actions that derive from AbstractResultAction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticAnalysisUtilities

public StaticAnalysisUtilities()
Method Detail

getActions

public List<hudson.model.Action> getActions(hudson.model.AbstractBuild<?,?> build)
Returns all build actions that derive from AbstractResultAction. Every action represents a single analysis result.

Parameters:
build - the build to get the actions for
Returns:
The static analysis actions for the specified build. The returned list might be empty if there are no such actions.


Copyright © 2004-2012. All Rights Reserved.