flux.file
Interface FileModifiedTrigger

All Superinterfaces:
Action, java.lang.Cloneable, FileStableTrigger, FileTrigger, RuntimeDataMap, java.io.Serializable, SingleFileParameter, Trigger

public interface FileModifiedTrigger
extends FileTrigger, FileStableTrigger

Fires when specified files and directories are modified. The file modified trigger periodically scans, as defined by setPollingDelay(), the appropriate file system and returns all files and directories that have been modified and match the file criteria.

To clarify, once a file modified trigger is enabled and running as part of a job, it scans for specified files and directories that have a timestamp newer than the moment when the file modified trigger was enabled.

Furthermore, a file modified trigger detects newly-created files, because their timestamps are newer than the moment when the file modified trigger was enabled.

The File Modified Trigger returns its result in the same format as the File Exist Trigger. For more information on accessing and using the result, see FileExistTrigger.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Nested Class Summary
 
Nested classes/interfaces inherited from interface flux.file.FileTrigger
FileTrigger.File_Res, FileTrigger.FileTriggerResult
 
Method Summary
 
Methods inherited from interface flux.file.FileTrigger
getActiveWindow, getActiveWindowNamespace, getPollingDelay, getSortOrder, setActiveWindow, setActiveWindowNamespace, setPollingDelay, setSortOrder
 
Methods inherited from interface flux.Action
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutBusinessIntervalNamespace, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutBusinessIntervalNamespace, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
 
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap
getRuntimeDataMap, setRuntimeDataMap
 
Methods inherited from interface flux.file.SingleFileParameter
addSource, clear, getSources
 
Methods inherited from interface flux.file.FileStableTrigger
getStablePeriod, setStablePeriod
 



© 2014 Flux Corporation. All rights reserved.