public interface DelayTrigger extends Trigger
Flow Context Variable | Field | Java Type | Description |
---|---|---|---|
RESULT | result | boolean | A boolean value indicating whether the delay trigger has expired. If true, the delay trigger fired normally; if false, the delay trigger has expired. |
Modifier and Type | Interface and Description |
---|---|
static class |
DelayTrigger.Delay_Result
Deprecated.
Use DelayTriggerResult instead. Deprecated in Flux 7.2. Will be
removed in Flux 8.0.
|
static class |
DelayTrigger.DelayTriggerResult
The result when a delay trigger fires.
|
Modifier and Type | Field and Description |
---|---|
static int |
INFINITY
Use this constant in the setCount() method to allow this trigger to run
forever or until the expiration.
|
Modifier and Type | Method and Description |
---|---|
void |
expire()
Resets the state of this delay trigger as though it had expired and control
had flowed down the expiration path.
|
long |
getCount()
Returns the total number of times this trigger is configured to repeat
until it expires.
|
java.lang.String |
getDelayTimeExpression()
Returns a time expression that describes how long to wait.
|
java.util.Date |
getExpirationDate()
Returns the date when this trigger expires.
|
java.lang.String |
getExpirationTimeExpression()
Returns the time expression that governs when this trigger expires.
|
long |
getRemainingCount()
Returns the remaining number of times this trigger has yet to repeat before
it expires.
|
java.util.Date |
getScheduledTriggerDate()
Returns the date when this delay trigger is scheduled to fire.
|
void |
setCount(long count)
Sets the total number of times this trigger is configured to repeat until
it expires.
|
void |
setDelayTimeExpression(java.lang.String delayTimeExpression)
Sets a time expression that describes how long to wait.
|
void |
setExpirationFlow(Action action)
The flow that is followed when this delay trigger expires.
|
void |
setExpirationTimeExpression(java.lang.String expirationTimeExpression)
Sets the time expression that governs when this trigger expires.
|
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
getRuntimeDataMap, setRuntimeDataMap
static final int INFINITY
getCount()
,
setCount(long)
,
Constant Field Valuesvoid expire()
long getCount()
INFINITY
java.lang.String getDelayTimeExpression()
java.util.Date getExpirationDate()
java.lang.String getExpirationTimeExpression()
long getRemainingCount()
INFINITY
java.util.Date getScheduledTriggerDate()
void setCount(long count)
count
- The total number of times this trigger is configured to repeat
until it expires.INFINITY
void setDelayTimeExpression(java.lang.String delayTimeExpression) throws EngineException
delayTimeExpression
- A time expression that describes how long to
wait.EngineException
- If a system error occurs.void setExpirationFlow(Action action)
action
- The flow that is followed when this delay trigger expires.void setExpirationTimeExpression(java.lang.String expirationTimeExpression) throws EngineException
expirationTimeExpression
- The time expression that governs when this
trigger expires.EngineException
- If a system error occurs.© 2000-2025 Flux Corporation. All rights reserved.