public class PeriodicFolderTrigger extends hudson.triggers.Trigger<ComputedFolder<?>>
Trigger for ComputedFolders 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 |
| 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() |
@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 hudson.triggers.Trigger<ComputedFolder<?>>Copyright © 2016. All rights reserved.