Class SmartRetryRunAction
java.lang.Object
io.jenkins.plugins.smart_retry.action.SmartRetryRunAction
- All Implemented Interfaces:
Action,ModelObject,Serializable,RunAction2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttempt(AttemptRecord attemptRecord) intstatic SmartRetryRunActiongetOrCreate(Run<?, ?> run) intgetRun()booleanbooleanbooleanbooleanvoidonAttached(Run<?, ?> run) voidvoidsetFinalOutcome(String finalOutcome) voidsetProfile(String profile)
-
Constructor Details
-
SmartRetryRunAction
public SmartRetryRunAction()
-
-
Method Details
-
onAttached
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getProfile
-
isHasProfile
public boolean isHasProfile() -
getRun
-
getAttempts
-
getAttemptsCount
public int getAttemptsCount() -
isHasAttempts
public boolean isHasAttempts() -
getRetryScheduledCount
public int getRetryScheduledCount() -
getFinalOutcome
-
isHasFinalOutcome
public boolean isHasFinalOutcome() -
getFinalOutcomeDisplay
-
getFinalOutcomeBadge
-
getProfileBadge
-
getRetriesScheduledBadge
-
getTerminalFailureTypeDisplay
-
getTerminalMatchedRuleDisplay
-
getLastRetryTriggeringFailureTypeDisplay
-
getLastRetryTriggeringMatchedRuleDisplay
-
isRecoveredBuild
public boolean isRecoveredBuild() -
getNarrativeSummary
-
getNarrativeReason
-
setProfile
-
addAttempt
-
setFinalOutcome
-
getOrCreate
-
getTerminalFailureTypeDocsUrl
-
getTerminalMatchedRuleDocsUrl
-
getLastRetryTriggeringFailureTypeDocsUrl
-
getLastRetryTriggeringMatchedRuleDocsUrl
-