Package hudson.triggers
Class TimerTrigger
- All Implemented Interfaces:
ExtensionPoint,Describable<Trigger<?>>
Trigger that runs a job periodically.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class hudson.triggers.Trigger
Trigger.CronNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
-
Constructor Summary
Constructors -
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:TriggerExecutes 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:
runin classTrigger<BuildableItem>
-