Class ScriptContentBuildWrapper
- java.lang.Object
-
- hudson.plugins.emailext.plugins.content.ScriptContentBuildWrapper
-
public class ScriptContentBuildWrapper extends Object
-
-
Constructor Summary
Constructors Constructor Description ScriptContentBuildWrapper(Run<?,?> build)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction(String className)
Action
getCoberturaAction()
List<hudson.tasks.junit.TestResult>
getJUnitTestResult()
List<Action>
getStaticAnalysisActions()
Returns all build actions that derive fromAbstractResultAction
.String
getTimestampString()
static boolean
isPluginInstalled(String shortName)
Returns whether the specified plug-in is installed.
-
-
-
Constructor Detail
-
ScriptContentBuildWrapper
public ScriptContentBuildWrapper(Run<?,?> build)
-
-
Method Detail
-
getTimestampString
public String getTimestampString()
-
getStaticAnalysisActions
public List<Action> getStaticAnalysisActions()
Returns all build actions that derive fromAbstractResultAction
. 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 Action getCoberturaAction()
-
getJUnitTestResult
public List<hudson.tasks.junit.TestResult> getJUnitTestResult()
-
-