@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public class FolderCron
extends hudson.model.PeriodicWork
Trigger.Cron
analogue for ComputedFolder
.
TODO should introduce a core API defining an Item
with a public Map<TriggerDescriptor,Trigger<?>> getTriggers()
interface
(retrofit ParameterizedJobMixIn.ParameterizedJob
and ComputedFolder
to extend it, and use it from Trigger.Cron
).Constructor and Description |
---|
FolderCron()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkTriggers(Calendar cal)
Checks the triggers.
|
void |
doRun() |
long |
getInitialDelay() |
long |
getRecurrencePeriod() |
cancel, scheduledExecutionTime
public FolderCron() throws NoSuchFieldException
NoSuchFieldException
public long getRecurrencePeriod()
getRecurrencePeriod
in class hudson.model.PeriodicWork
public long getInitialDelay()
getInitialDelay
in class hudson.model.PeriodicWork
public void doRun()
doRun
in class hudson.triggers.SafeTimerTask
public void checkTriggers(Calendar cal)
Copyright © 2016–2017. All rights reserved.