public class URLTrigger
extends org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
Modifier and Type | Class and Description |
---|---|
class |
URLTrigger.InternalURLTriggerAction |
static class |
URLTrigger.URLTriggerDescriptor |
Trigger.Cron
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
URLTrigger(String cronTabSpec,
List<URLTriggerEntry> entries,
boolean labelRestriction,
String triggerLabel) |
URLTrigger(String cronTabSpec,
String triggerLabel) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkIfModified(Node pollingNode,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
protected org.jenkinsci.plugins.xtriggerapi.XTriggerCause |
getBuildCause() |
String |
getCause() |
String |
getCronTabSpec() |
URLTrigger.URLTriggerDescriptor |
getDescriptor() |
List<URLTriggerEntry> |
getEntries() |
protected File |
getLogFile() |
protected String |
getName() |
Collection<? extends Action> |
getProjectActions() |
protected Action[] |
getScheduledActions(Node node,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
boolean |
isLabelRestriction() |
protected boolean |
requiresWorkspaceForPolling() |
void |
setEntries(List<URLTriggerEntry> entries) |
void |
setLabelRestriction(boolean labelRestriction) |
checkIfModified, getScheduledXTriggerActions, getTriggerLabel, requirePollingNode, resolveEnvVars, run, start, start
all, checkTriggers, for_, getProjectAction, getSpec, readResolve, stop
@DataBoundConstructor public URLTrigger(String cronTabSpec, String triggerLabel) throws antlr.ANTLRException
antlr.ANTLRException
public URLTrigger(String cronTabSpec, List<URLTriggerEntry> entries, boolean labelRestriction, String triggerLabel) throws antlr.ANTLRException
antlr.ANTLRException
public String getCronTabSpec()
public List<URLTriggerEntry> getEntries()
@DataBoundSetter public void setEntries(List<URLTriggerEntry> entries)
public boolean isLabelRestriction()
@DataBoundSetter public void setLabelRestriction(boolean labelRestriction)
public Collection<? extends Action> getProjectActions()
getProjectActions
in class Trigger<BuildableItem>
protected boolean checkIfModified(Node pollingNode, org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) throws org.jenkinsci.plugins.xtriggerapi.XTriggerException
checkIfModified
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
org.jenkinsci.plugins.xtriggerapi.XTriggerException
public String getCause()
getCause
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
protected org.jenkinsci.plugins.xtriggerapi.XTriggerCause getBuildCause()
getBuildCause
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
protected String getName()
getName
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
protected File getLogFile()
getLogFile
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
protected Action[] getScheduledActions(Node node, org.jenkinsci.plugins.xtriggerapi.XTriggerLog log)
getScheduledActions
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
protected boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
public URLTrigger.URLTriggerDescriptor getDescriptor()
getDescriptor
in interface Describable<Trigger<?>>
getDescriptor
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
Copyright © 2016–2022. All rights reserved.