Class PeriodicFolderTrigger
java.lang.Object
hudson.triggers.Trigger<ComputedFolder<?>>
com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger
- All Implemented Interfaces:
ExtensionPoint
,Describable<Trigger<?>>
A
Trigger
for ComputedFolder
s that will only trigger a recomputation if none has been
triggered within a specified timeframe.- Author:
- Stephen Connolly
-
Nested Class Summary
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
Modifier and TypeMethodDescriptionReturns the interval between indexing.long
Returns the number of milliseconds between indexing.void
run()
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, readResolve, start, stop, toString
-
Constructor Details
-
PeriodicFolderTrigger
Constructor.- Parameters:
interval
- the interval.
-
-
Method Details
-
getIntervalMillis
public long getIntervalMillis()Returns the number of milliseconds between indexing.- Returns:
- the number of milliseconds between indexing.
-
getInterval
Returns the interval between indexing.- Returns:
- the interval between indexing.
-
run
public void run()- Overrides:
run
in classTrigger<ComputedFolder<?>>
-