public class MatchRecognizeInterval extends java.lang.Object implements MetaDefItem, java.io.Serializable
Constructor and Description |
---|
MatchRecognizeInterval(ExprTimePeriod timePeriodExpr,
boolean orTerminated)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
long |
getScheduleBackwardDelta(long fromTime,
AgentInstanceContext agentInstanceContext)
Returns the number of milliseconds.
|
long |
getScheduleForwardDelta(long fromTime,
AgentInstanceContext agentInstanceContext)
Returns the number of milliseconds.
|
ExprTimePeriod |
getTimePeriodExpr()
Returns the time period.
|
boolean |
isOrTerminated() |
void |
validate(ExprValidationContext validationContext) |
public MatchRecognizeInterval(ExprTimePeriod timePeriodExpr, boolean orTerminated)
timePeriodExpr
- time periodpublic ExprTimePeriod getTimePeriodExpr()
public long getScheduleForwardDelta(long fromTime, AgentInstanceContext agentInstanceContext)
public long getScheduleBackwardDelta(long fromTime, AgentInstanceContext agentInstanceContext)
public boolean isOrTerminated()
public void validate(ExprValidationContext validationContext) throws ExprValidationException
ExprValidationException