public class FlowHandle<A>
class FlowHandle
is a serialisable handle for the started flow, parameterised by the type of the flow's return value.
class FlowHandle
Constructor and Description |
---|
FlowHandle(StateMachineRunId id,
rx.Observable<java.lang.String> progress,
com.google.common.util.concurrent.ListenableFuture<A> returnValue)
class FlowHandle is a serialisable handle for the started flow, parameterised by the type of the flow's return value. |
Modifier and Type | Method and Description |
---|---|
StateMachineRunId |
component1() |
rx.Observable<java.lang.String> |
component2() |
com.google.common.util.concurrent.ListenableFuture<A> |
component3() |
FlowHandle<A> |
copy(StateMachineRunId id,
rx.Observable<java.lang.String> progress,
com.google.common.util.concurrent.ListenableFuture<A> returnValue)
class FlowHandle is a serialisable handle for the started flow, parameterised by the type of the flow's return value. |
boolean |
equals(java.lang.Object p) |
StateMachineRunId |
getId() |
rx.Observable<java.lang.String> |
getProgress() |
com.google.common.util.concurrent.ListenableFuture<A> |
getReturnValue() |
int |
hashCode() |
java.lang.String |
toString() |
public FlowHandle(StateMachineRunId id, rx.Observable<java.lang.String> progress, com.google.common.util.concurrent.ListenableFuture<A> returnValue)
class FlowHandle
is a serialisable handle for the started flow, parameterised by the type of the flow's return value.
id
- The started state machine's ID.progress
- The stream of progress tracker events.returnValue
- A ListenableFuture of the flow's return value.class FlowHandle
public StateMachineRunId getId()
public rx.Observable<java.lang.String> getProgress()
public com.google.common.util.concurrent.ListenableFuture<A> getReturnValue()
public StateMachineRunId component1()
public rx.Observable<java.lang.String> component2()
public com.google.common.util.concurrent.ListenableFuture<A> component3()
public FlowHandle<A> copy(StateMachineRunId id, rx.Observable<java.lang.String> progress, com.google.common.util.concurrent.ListenableFuture<A> returnValue)
class FlowHandle
is a serialisable handle for the started flow, parameterised by the type of the flow's return value.
id
- The started state machine's ID.progress
- The stream of progress tracker events.returnValue
- A ListenableFuture of the flow's return value.class FlowHandle
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)