Class MavenInvokerBuildAction
- java.lang.Object
-
- org.jenkinsci.plugins.maveninvoker.MavenInvokerBuildAction
-
- All Implemented Interfaces:
Action,ModelObject,Serializable,RunAction2
public class MavenInvokerBuildAction extends Object implements RunAction2, Serializable
- Author:
- Olivier Lamy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMavenInvokerBuildAction(Run<?,?> build)MavenInvokerBuildAction(Run<?,?> build, MavenInvokerResults mavenInvokerResults)Deprecated.This is aRunAction2instance, not need to pass build explicitlyMavenInvokerBuildAction(MavenInvokerResults mavenInvokerResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddResults(MavenInvokerResults mavenInvokerResults)ApigetApi()Run<?,?>getBuild()StringgetDisplayName()intgetFailCount()intgetFailedTestCount()StringgetIconFileName()MavenInvokerResultsgetMavenInvokerResults()intgetPassedTestCount()MavenInvokerBuildActiongetPreviousResult()InvokerResultgetResult(String url)intgetRunTests()intgetSkipCount()intgetSkippedTestCount()intgetTotalCount()StringgetUrlName()protected voidinitTestCountsFields(MavenInvokerResults miResults)voidonAttached(Run<?,?> r)voidonLoad(Run<?,?> r)protected ObjectreadResolve()
-
-
-
Field Detail
-
URL_NAME
public static final String URL_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MavenInvokerBuildAction
@Deprecated public MavenInvokerBuildAction(Run<?,?> build, MavenInvokerResults mavenInvokerResults)
Deprecated.This is aRunAction2instance, not need to pass build explicitlyConstructor.
-
MavenInvokerBuildAction
public MavenInvokerBuildAction(MavenInvokerResults mavenInvokerResults)
-
MavenInvokerBuildAction
protected MavenInvokerBuildAction(Run<?,?> build)
-
-
Method Detail
-
addResults
protected void addResults(MavenInvokerResults mavenInvokerResults)
-
getMavenInvokerResults
public MavenInvokerResults getMavenInvokerResults()
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlNamein interfaceAction
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileNamein interfaceAction
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoadin interfaceRunAction2
-
getApi
public Api getApi()
-
getPassedTestCount
public int getPassedTestCount()
-
getFailedTestCount
public int getFailedTestCount()
-
getSkippedTestCount
public int getSkippedTestCount()
-
getRunTests
public int getRunTests()
-
getBuild
public Run<?,?> getBuild()
-
getFailCount
public int getFailCount()
-
getSkipCount
public int getSkipCount()
-
getTotalCount
public int getTotalCount()
-
getPreviousResult
public MavenInvokerBuildAction getPreviousResult()
-
getResult
public InvokerResult getResult(String url)
-
initTestCountsFields
protected void initTestCountsFields(MavenInvokerResults miResults)
-
readResolve
protected Object readResolve()
-
-