hudson.plugins.emailext.plugins.content
Class ScriptContentBuildWrapper

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

public class ScriptContentBuildWrapper
extends Object


Constructor Summary
ScriptContentBuildWrapper(hudson.model.AbstractBuild<?,?> build)
           
 
Method Summary
 hudson.model.Action getAction(String className)
           
 hudson.model.Action getCoberturaAction()
           
 List<hudson.tasks.junit.TestResult> getJUnitTestResult()
           
 List<hudson.model.Action> getStaticAnalysisActions()
          Returns all build actions that derive from AbstractResultAction.
 String getTimestampString()
           
static boolean isPluginInstalled(String shortName)
          Returns whether the specified plug-in is installed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptContentBuildWrapper

public ScriptContentBuildWrapper(hudson.model.AbstractBuild<?,?> build)
Method Detail

getTimestampString

public String getTimestampString()

getAction

public hudson.model.Action getAction(String className)

getStaticAnalysisActions

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

Returns:
The static analysis actions for the current build. The returned list might be empty if there are no such actions.

isPluginInstalled

public static boolean isPluginInstalled(String shortName)
Returns whether the specified plug-in is installed.

Parameters:
shortName - the plug-in to check
Returns:
true if the specified plug-in is installed, false if not.

getCoberturaAction

public hudson.model.Action getCoberturaAction()

getJUnitTestResult

public List<hudson.tasks.junit.TestResult> getJUnitTestResult()


Copyright © 2004-2012. All Rights Reserved.