|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileTrigger
Abstract interface that fires when specified files and directories change state. The file trigger scans the appropriate file system and returns all files and directories that match specific file trigger criteria. The result is returned to the flow context as an object of type FileTrigger.FileTriggerResult.
Nested Class Summary | |
---|---|
static class |
FileTrigger.File_Res
Deprecated. Use FileTriggerResult instead. Deprecated in Flux 7.2. Will be removed in Flux 8.0. |
static class |
FileTrigger.FileTriggerResult
File trigger result, which contains matching files and directories from a concrete file trigger. |
Method Summary | |
---|---|
AllowableBusinessInterval |
getActiveWindow()
Deprecated. Use FileTrigger.getActiveWindowNamespace. Deprecated in Flux 8.0. Will be removed in a future release. |
java.lang.String |
getActiveWindowNamespace()
Returns a repository namespace to a business interval, which indicates the times when this file trigger may scan for files. |
java.lang.String |
getPollingDelay()
Returns the delay that occurs between file polling. |
SortOrder |
getSortOrder()
Returns the sorting algorithm used to order the file trigger result contents. |
void |
setActiveWindow(AllowableBusinessInterval activeWindow)
Deprecated. Use FileTrigger.setActiveWindowNamespace. Deprecated in Flux 8.0. Will be removed in a future release. |
void |
setActiveWindowNamespace(java.lang.String activeWindowNamespace)
Sets a repository namespace to a business interval, which indicates the times when this file trigger may scan for files. |
void |
setPollingDelay(java.lang.String timeExpression)
Sets the delay that occurs between file polling. |
void |
setSortOrder(SortOrder sortingAlgorithm)
Sets the sorting algorithm used to order the file trigger result contents. |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Methods inherited from interface flux.file.SingleFileParameter |
---|
addSource, clear, getSources |
Method Detail |
---|
@Deprecated AllowableBusinessInterval getActiveWindow()
java.lang.String getActiveWindowNamespace()
java.lang.String getPollingDelay()
SortOrder getSortOrder()
SortOrder.FILENAME_ASCENDING
.
@Deprecated void setActiveWindow(AllowableBusinessInterval activeWindow)
activeWindow
- The times when this file trigger may scan for files.
May be null.void setActiveWindowNamespace(java.lang.String activeWindowNamespace)
activeWindowNamespace
- A repository namespace to a business interval, which indicates the times when this file trigger may scan for files. May be null.void setPollingDelay(java.lang.String timeExpression) throws EngineException
timeExpression
- The delay that occurs between file polling.
EngineException
- If the time expression is invalid or not a positive
value or a system error occurs.void setSortOrder(SortOrder sortingAlgorithm)
sortingAlgorithm
- The sorting algorithm used to order the file
trigger result contents.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |