T
- Type of the input eventspublic class ComputationState<T> extends Object
Modifier and Type | Class and Description |
---|---|
class |
ComputationState.ConditionContext
The context used when evaluating this computation state.
|
Modifier and Type | Method and Description |
---|---|
static <T> ComputationState<T> |
createStartState(NFA<T> nfa,
State<T> state) |
static <T> ComputationState<T> |
createStartState(NFA<T> nfa,
State<T> state,
DeweyNumber version) |
static <T> ComputationState<T> |
createState(NFA<T> nfa,
State<T> currentState,
State<T> previousState,
T event,
int counter,
long timestamp,
DeweyNumber version,
long startTimestamp) |
ComputationState.ConditionContext |
getConditionContext() |
int |
getCounter() |
T |
getEvent() |
State<T> |
getPreviousState() |
long |
getStartTimestamp() |
State<T> |
getState() |
long |
getTimestamp() |
DeweyNumber |
getVersion() |
boolean |
isFinalState() |
boolean |
isStartState() |
boolean |
isStopState() |
public int getCounter()
public ComputationState.ConditionContext getConditionContext()
public boolean isFinalState()
public boolean isStartState()
public long getTimestamp()
public long getStartTimestamp()
public T getEvent()
public DeweyNumber getVersion()
public static <T> ComputationState<T> createStartState(NFA<T> nfa, State<T> state)
public static <T> ComputationState<T> createStartState(NFA<T> nfa, State<T> state, DeweyNumber version)
public static <T> ComputationState<T> createState(NFA<T> nfa, State<T> currentState, State<T> previousState, T event, int counter, long timestamp, DeweyNumber version, long startTimestamp)
public boolean isStopState()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.