flux.file
Interface FileExistTrigger

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

public interface FileExistTrigger
extends FileTrigger, FileStableTrigger, AgentAction

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

The File Exist Trigger returns its result in the flow context variable "RESULT". The following table contains more information on accessing and using the result.

Flow Context Variable Field Java Type Description
RESULTurl_string_matchesjava.util.List<java.lang.String>Contains URLs of files and directories against which the file trigger matched using its file criteria. This field contains the same information as the "url_object_matches" field but in string form.
RESULTurl_object_matchesjava.util.List<java.net.URL>Contains URLs of files and directories against which the file trigger matched using its file criteria. This field contains the same information as the "url_string_matches" field but in URL object form.
RESULTfileinfo_matchesjava.util.List<FileInfo>Contains details about files against which the file trigger matched using its file criteria. Details include file size, last modified date, and file permissions.
RESULTfilename_matchesjava.util.List<java.lang.String>Contains simple, base file names, without path information, of files against which the file trigger matched using its file criteria.

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
 
Methods inherited from interface flux.agent.AgentAction
getAgentPool, setAgentPool
 



© 2014 Flux Corporation. All rights reserved.