public class FileNameTrigger
extends org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
Modifier and Type | Class and Description |
---|---|
static class |
FileNameTrigger.FileNameTriggerDescriptor |
class |
FileNameTrigger.FSTriggerFilesAction |
Trigger.Cron
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static String |
STRATEGY_IGNORE |
static String |
STRATEGY_LATEST |
Constructor and Description |
---|
FileNameTrigger(String cronTabSpec,
FileNameTriggerInfo[] fileInfo) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkIfModified(Node pollingNode,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
String |
getCause() |
FSTriggerContentFileType[] |
getContentFileTypes()
Deprecated.
|
FileNameTrigger.FileNameTriggerDescriptor |
getDescriptor() |
FileNameTriggerInfo[] |
getFileInfo() |
String |
getFileName()
Deprecated.
|
String |
getFolderPath()
Deprecated.
|
protected File |
getLogFile() |
protected String |
getName() |
Collection<? extends Action> |
getProjectActions() |
protected Action[] |
getScheduledActions(Node node,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
String |
getStrategy()
Deprecated.
|
boolean |
isDoNotCheckLastModificationDate()
Deprecated.
|
boolean |
isInspectingContentFile()
Deprecated.
|
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
public static final String STRATEGY_IGNORE
public static final String STRATEGY_LATEST
public FileNameTrigger(String cronTabSpec, FileNameTriggerInfo[] fileInfo) throws antlr.ANTLRException
antlr.ANTLRException
public FileNameTriggerInfo[] getFileInfo()
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 void start(Node pollingNode, BuildableItem project, boolean newInstance, org.jenkinsci.plugins.xtriggerapi.XTriggerLog log)
start
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
protected String getName()
getName
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
public String getCause()
getCause
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
public Collection<? extends Action> getProjectActions()
getProjectActions
in class Trigger<BuildableItem>
public FileNameTrigger.FileNameTriggerDescriptor getDescriptor()
getDescriptor
in interface Describable<Trigger<?>>
getDescriptor
in class org.jenkinsci.plugins.xtriggerapi.AbstractTrigger
@Deprecated public String getFolderPath()
@Deprecated public String getFileName()
@Deprecated public String getStrategy()
@Deprecated public boolean isInspectingContentFile()
@Deprecated public boolean isDoNotCheckLastModificationDate()
@Deprecated public FSTriggerContentFileType[] getContentFileTypes()
protected Object readResolve() throws ObjectStreamException
readResolve
in class Trigger<BuildableItem>
ObjectStreamException
Copyright © 2016–2022. All rights reserved.