org.jenkinsci.plugins.pollmailboxtrigger
Class PollMailboxTrigger
java.lang.Object
hudson.triggers.Trigger<hudson.model.BuildableItem>
org.jenkinsci.lib.xtrigger.AbstractTrigger
org.jenkinsci.plugins.scripttrigger.AbstractTrigger
org.jenkinsci.plugins.pollmailboxtrigger.PollMailboxTrigger
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>, Serializable
public class PollMailboxTrigger
- extends org.jenkinsci.plugins.scripttrigger.AbstractTrigger
- Author:
- Nick Grealy
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class hudson.triggers.Trigger |
hudson.triggers.Trigger.Cron |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class org.jenkinsci.plugins.scripttrigger.AbstractTrigger |
enableConcurrentBuild, labelRestriction |
| Fields inherited from class org.jenkinsci.lib.xtrigger.AbstractTrigger |
LOGGER, offlineSlaveOnStartup |
| Fields inherited from class hudson.triggers.Trigger |
job, spec, tabs, timer |
|
Constructor Summary |
PollMailboxTrigger(String cronTabSpec,
org.jenkinsci.plugins.scripttrigger.LabelRestrictionClass labelRestriction,
boolean enableConcurrentBuild,
String script)
|
| Methods inherited from class org.jenkinsci.plugins.scripttrigger.AbstractTrigger |
getCause, getScheduledActions, isEnableConcurrentBuild, isLabelRestriction, requiresWorkspaceForPolling, start |
| Methods inherited from class org.jenkinsci.lib.xtrigger.AbstractTrigger |
getScheduledXTriggerActions, getTriggerLabel, resolveEnvVars, run, start |
| Methods inherited from class hudson.triggers.Trigger |
all, checkTriggers, for_, getProjectAction, getSpec, init, readResolve, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollMailboxTrigger
@DataBoundConstructor
public PollMailboxTrigger(String cronTabSpec,
org.jenkinsci.plugins.scripttrigger.LabelRestrictionClass labelRestriction,
boolean enableConcurrentBuild,
String script)
throws antlr.ANTLRException
- Throws:
antlr.ANTLRException
getScript
public String getScript()
getProjectActions
public Collection<? extends hudson.model.Action> getProjectActions()
- Overrides:
getProjectActions in class hudson.triggers.Trigger<hudson.model.BuildableItem>
getName
protected String getName()
- Overrides:
getName in class org.jenkinsci.plugins.scripttrigger.AbstractTrigger
getDescriptor
public PollMailboxTrigger.ScriptTriggerDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.triggers.Trigger<?>>- Overrides:
getDescriptor in class org.jenkinsci.lib.xtrigger.AbstractTrigger
getLogFile
protected File getLogFile()
- Specified by:
getLogFile in class org.jenkinsci.lib.xtrigger.AbstractTrigger
getDefaultMessageCause
protected String getDefaultMessageCause()
- Specified by:
getDefaultMessageCause in class org.jenkinsci.plugins.scripttrigger.AbstractTrigger
checkIfModified
protected boolean checkIfModified(hudson.model.Node executingNode,
org.jenkinsci.lib.xtrigger.XTriggerLog log)
throws org.jenkinsci.plugins.scripttrigger.ScriptTriggerException
- Specified by:
checkIfModified in class org.jenkinsci.lib.xtrigger.AbstractTrigger
- Throws:
org.jenkinsci.plugins.scripttrigger.ScriptTriggerException
Copyright © 2004-2014. All Rights Reserved.