public class FolderContentTrigger
extends org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
Modifier and Type | Class and Description |
---|---|
static class |
FolderContentTrigger.FolderContentTriggerDescriptor |
class |
FolderContentTrigger.FSTriggerFolderAction |
Trigger.Cron
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
FolderContentTrigger(String cronTabSpec,
String path,
String includes,
String excludes,
boolean excludeCheckLastModificationDate,
boolean excludeCheckContent,
boolean excludeCheckFewerOrMoreFiles) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkIfModified(Node pollingNode,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
String |
getCause() |
FolderContentTrigger.FolderContentTriggerDescriptor |
getDescriptor() |
String |
getExcludes() |
String |
getIncludes() |
protected File |
getLogFile() |
protected String |
getName() |
String |
getPath() |
Collection<? extends Action> |
getProjectActions() |
protected Action[] |
getScheduledActions(Node node,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
boolean |
isExcludeCheckContent() |
boolean |
isExcludeCheckFewerOrMoreFiles() |
boolean |
isExcludeCheckLastModificationDate() |
protected Object |
readResolve() |
protected boolean |
requiresWorkspaceForPolling() |
void |
start(Node pollingNode,
BuildableItem project,
boolean newInstance,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
checkIfModified, getBuildCause, getScheduledXTriggerActions, getTriggerLabel, requirePollingNode, resolveEnvVars, run, start
all, checkTriggers, for_, getProjectAction, getSpec, stop
@DataBoundConstructor public FolderContentTrigger(String cronTabSpec, String path, String includes, String excludes, boolean excludeCheckLastModificationDate, boolean excludeCheckContent, boolean excludeCheckFewerOrMoreFiles) throws antlr.ANTLRException
antlr.ANTLRException
public String getPath()
public String getIncludes()
public String getExcludes()
public boolean isExcludeCheckLastModificationDate()
public boolean isExcludeCheckContent()
public boolean isExcludeCheckFewerOrMoreFiles()
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
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
public void start(Node pollingNode, BuildableItem project, boolean newInstance, org.jenkinsci.plugins.xtriggerapi.XTriggerLog log)
start
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
protected String getName()
getName
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
public Collection<? extends Action> getProjectActions()
getProjectActions
in class Trigger<BuildableItem>
public FolderContentTrigger.FolderContentTriggerDescriptor getDescriptor()
getDescriptor
in interface Describable<Trigger<?>>
getDescriptor
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
protected Object readResolve() throws ObjectStreamException
readResolve
in class Trigger<BuildableItem>
ObjectStreamException
Copyright © 2016–2022. All rights reserved.