Package hudson.triggers
Class TimerTrigger
- All Implemented Interfaces:
ExtensionPoint
,Describable<Trigger<?>>
Trigger
that runs a job periodically.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class hudson.triggers.Trigger
Trigger.Cron
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, readResolve, start, stop, toString
-
Constructor Details
-
TimerTrigger
-
-
Method Details
-
run
public void run()Description copied from class:Trigger
Executes the triggered task. This method is invoked whenTrigger(String)
is used to create an instance, and the crontab matches the current time.Maybe run even before
Trigger.start(hudson.model.Item, boolean)
, prepare for it.- Overrides:
run
in classTrigger<BuildableItem>
-