Class ExecutorStepExecution.AnomalousStatus
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- hudson.model.PeriodicWork
-
- org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution.AnomalousStatus
-
- All Implemented Interfaces:
ExtensionPoint
,Runnable
- Enclosing class:
- ExecutorStepExecution
@Extension public static final class ExecutorStepExecution.AnomalousStatus extends PeriodicWork
Looks for executions whoseExecutorStepExecution.getStatus()
would be neither running nor scheduled, and cancels them.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnable
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN
-
-
Constructor Summary
Constructors Constructor Description AnomalousStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doRun()
long
getInitialDelay()
long
getRecurrencePeriod()
-
Methods inherited from class hudson.model.PeriodicWork
all, init
-
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Method Detail
-
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
getInitialDelay
public long getInitialDelay()
- Overrides:
getInitialDelay
in classPeriodicWork
-
doRun
protected void doRun() throws Exception
- Specified by:
doRun
in classSafeTimerTask
- Throws:
Exception
-
-