public final class TestFlowHistory<T> extends Object implements FlowHistory<T>
| Modifier and Type | Method and Description |
|---|---|
List<FlowEvent<T>> |
getEventHistory() |
UUID |
getFlowId() |
TraceMap |
getTraceMap() |
<V> List<V> |
getTranslatedEventHistory(FlowEventTranslator<T,V> translator) |
TestFlowHistory<T> |
withEventHistory(FlowEvent<? extends T>... events) |
TestFlowHistory<T> |
withEventHistory(List<FlowEvent<T>> events) |
static <T> TestFlowHistory<T> |
withFlowId(UUID flowId) |
TestFlowHistory<T> |
withTraceMap(TraceMap traceMap) |
public static <T> TestFlowHistory<T> withFlowId(UUID flowId)
public UUID getFlowId()
getFlowId in interface FlowHistory<T>public TestFlowHistory<T> withTraceMap(TraceMap traceMap)
public TraceMap getTraceMap()
getTraceMap in interface FlowHistory<T>@SafeVarargs public final TestFlowHistory<T> withEventHistory(FlowEvent<? extends T>... events)
public TestFlowHistory<T> withEventHistory(List<FlowEvent<T>> events)
public List<FlowEvent<T>> getEventHistory()
getEventHistory in interface FlowHistory<T>public <V> List<V> getTranslatedEventHistory(FlowEventTranslator<T,V> translator)
getTranslatedEventHistory in interface FlowHistory<T>Copyright © 2017. All Rights Reserved.