public class PeriodicFolderTrigger extends Trigger<ComputedFolder<?>>
Trigger
for ComputedFolder
s that will only trigger a recomputation if none has been
triggered within a specified timeframe.Modifier and Type | Class and Description |
---|---|
static class |
PeriodicFolderTrigger.DescriptorImpl
Our
Descriptor |
Trigger.Cron
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
PeriodicFolderTrigger(String interval)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getInterval()
Returns the interval between indexing.
|
long |
getIntervalMillis()
Returns the number of milliseconds between indexing.
|
void |
run() |
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, readResolve, start, stop
@DataBoundConstructor public PeriodicFolderTrigger(String interval) throws antlr.ANTLRException
interval
- the interval.antlr.ANTLRException
- impossible but we cannot suppress itpublic long getIntervalMillis()
public String getInterval()
public void run()
run
in class Trigger<ComputedFolder<?>>
Copyright © 2016–2020. All rights reserved.