Class ExpressionGuardFactory
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.guard.ExpressionGuardFactory
- All Implemented Interfaces:
GuardFactory
-
Field Summary
Modifier and TypeFieldDescriptionprotected MatchedEventConvertor
static final EPTypeClass
protected ExprEvaluator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmakeGuard
(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, Object guardState) Constructs a guard instance.void
setConvertor
(MatchedEventConvertor convertor) void
setExpression
(ExprEvaluator expression)
-
Field Details
-
EPTYPE
-
expression
-
convertor
-
-
Constructor Details
-
ExpressionGuardFactory
public ExpressionGuardFactory()
-
-
Method Details
-
setExpression
-
setConvertor
-
makeGuard
public Guard makeGuard(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, Object guardState) Description copied from interface:GuardFactory
Constructs a guard instance.- Specified by:
makeGuard
in interfaceGuardFactory
- Parameters:
context
- - services for use by guardbeginState
- - the prior matching eventsquitable
- - to use for indicating the guard has quitguardState
- - state node for guard- Returns:
- guard instance
-