Package org.apache.flink.cep.nfa
Class StateTransition<T>
- java.lang.Object
-
- org.apache.flink.cep.nfa.StateTransition<T>
-
- Type Parameters:
T
- type of events that are handled by theIterativeCondition
- All Implemented Interfaces:
Serializable
public class StateTransition<T> extends Object implements Serializable
Represents a transition from oneState
to another.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StateTransition(State<T> sourceState, StateTransitionAction action, State<T> targetState, IterativeCondition<T> condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
StateTransitionAction
getAction()
IterativeCondition<T>
getCondition()
State<T>
getSourceState()
State<T>
getTargetState()
int
hashCode()
void
setCondition(IterativeCondition<T> condition)
String
toString()
-
-
-
Constructor Detail
-
StateTransition
public StateTransition(State<T> sourceState, StateTransitionAction action, State<T> targetState, IterativeCondition<T> condition)
-
-
Method Detail
-
getAction
public StateTransitionAction getAction()
-
getCondition
public IterativeCondition<T> getCondition()
-
setCondition
public void setCondition(IterativeCondition<T> condition)
-
-