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 protected
MavenInvokerBuildAction(Run<?,?> build)
MavenInvokerBuildAction(Run<?,?> build, MavenInvokerResults mavenInvokerResults)
Deprecated.This is aRunAction2
instance, not need to pass build explicitlyMavenInvokerBuildAction(MavenInvokerResults mavenInvokerResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addResults(MavenInvokerResults mavenInvokerResults)
Api
getApi()
Run<?,?>
getBuild()
String
getDisplayName()
int
getFailCount()
int
getFailedTestCount()
String
getIconFileName()
MavenInvokerResults
getMavenInvokerResults()
int
getPassedTestCount()
MavenInvokerBuildAction
getPreviousResult()
InvokerResult
getResult(String url)
int
getRunTests()
int
getSkipCount()
int
getSkippedTestCount()
int
getTotalCount()
String
getUrlName()
protected void
initTestCountsFields(MavenInvokerResults miResults)
void
onAttached(Run<?,?> r)
void
onLoad(Run<?,?> r)
protected Object
readResolve()
-
-
-
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 aRunAction2
instance, 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:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoad
in 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()
-
-