@Extension
public class PeriodicReincarnation
extends hudson.model.AsyncPeriodicWork
Constructor and Description |
---|
PeriodicReincarnation()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(hudson.model.TaskListener taskListener)
This method is called every minute.
|
static PeriodicReincarnation |
get()
Returns this AsyncTask.
|
protected Level |
getNormalLoggingLevel()
No spam in log file
|
long |
getRecurrencePeriod()
Recurrence will occur every minute, but action will be taken according to
the cron time set in the configuration.
|
createListener, doRun, getErrorLoggingLevel, getLogFile, getSlowLoggingLevel
cancel, scheduledExecutionTime
protected Level getNormalLoggingLevel()
getNormalLoggingLevel
in class hudson.model.AsyncPeriodicWork
protected void execute(hudson.model.TaskListener taskListener)
execute
in class hudson.model.AsyncPeriodicWork
taskListener
- TaskListenerpublic long getRecurrencePeriod()
getRecurrencePeriod
in class hudson.model.PeriodicWork
public static PeriodicReincarnation get()
Copyright © 2016–2019. All rights reserved.