public class NaginatorAction extends Object implements hudson.model.BuildBadgeAction
| Constructor and Description |
|---|
NaginatorAction()
Deprecated.
|
NaginatorAction(int retryCount)
Deprecated.
use
NaginatorAction(Run, int, int) instead. |
NaginatorAction(hudson.model.Run<?,?> parentBuild,
int retryCount,
int maxRetryCount) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getIconFileName() |
int |
getMaxRetryCount()
Returns the maximum number to reschedule.
|
Integer |
getParentBuildNumber()
Returns the maximum number to reschedule.
|
int |
getRetryCount()
Returns the number of retry this build is rescheduled for.
|
String |
getUrlName() |
@Deprecated public NaginatorAction()
NaginatorAction(int)@Deprecated public NaginatorAction(int retryCount)
NaginatorAction(Run, int, int) instead.retryCount - the number of retry this build is rescheduled for.public NaginatorAction(@CheckForNull hudson.model.Run<?,?> parentBuild, int retryCount, int maxRetryCount)
parentBuild - the build to retry.retryCount - the number of retry this build is rescheduled for.maxRetryCount - the maximum number to retry. Can be 0 for indeterminable cases.public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic int getRetryCount()
0 for builds rescheduled with
older versions of naginator-plugin.public int getMaxRetryCount()
0 for builds rescheduled with
older versions of naginator-plugin
for cases that the build is rescheduled manually,
or for cases the maximum number is indeterminable.@CheckForNull public Integer getParentBuildNumber()
null for builds rescheduled with
older versions of naginator-pluginCopyright © 2016–2019. All rights reserved.