@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, scheduledExecutionTimepublic FolderCron()
throws NoSuchFieldException
NoSuchFieldExceptionpublic long getRecurrencePeriod()
getRecurrencePeriod in class hudson.model.PeriodicWorkpublic long getInitialDelay()
getInitialDelay in class hudson.model.PeriodicWorkpublic void doRun()
doRun in class hudson.triggers.SafeTimerTaskpublic void checkTriggers(Calendar cal)
Copyright © 2016. All rights reserved.