public class IndexAtLeastTrigger<P extends hudson.model.AbstractProject<P,R> & hudson.model.TopLevelItem,R extends hudson.model.AbstractBuild<P,R>> extends hudson.triggers.Trigger<MultiBranchProject<P,R>>
Trigger for MultiBranchProjects that will only trigger an indexing if an indexing has not been
triggered within a specified timeframe.| Modifier and Type | Class and Description |
|---|---|
static class |
IndexAtLeastTrigger.DescriptorImpl
Our
Descriptor |
| Constructor and Description |
|---|
IndexAtLeastTrigger(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 IndexAtLeastTrigger(String interval) throws antlr.ANTLRException
interval - the interval.antlr.ANTLRException - if the crontab cannot be parsed.public long getIntervalMillis()
public String getInterval()
Copyright © 2004-2013. All Rights Reserved.