public class StateMachineInfo
Represents information about a flow (the name "state machine" is legacy, Kotlin users can use the FlowInfo type alias). You can access progress tracking, information about why the flow was started and so on.
Constructor and Description |
---|
StateMachineInfo(StateMachineRunId id,
java.lang.String flowLogicClassName,
FlowInitiator initiator,
DataFeed<java.lang.String,java.lang.String> progressTrackerStepAndUpdates,
InvocationContext invocationContext)
Represents information about a flow (the name "state machine" is legacy, Kotlin users can use the FlowInfo type
alias). You can access progress tracking, information about why the flow was started and so on.
|
Modifier and Type | Method and Description |
---|---|
StateMachineRunId |
component1()
A universally unique ID
|
java.lang.String |
component2()
The JVM class name of the flow code.
|
FlowInitiator |
component3()
An object representing information about the initiator of the flow.
|
DataFeed<java.lang.String,java.lang.String> |
component4()
A
|
InvocationContext |
component5()
An
|
StateMachineInfo |
copy(StateMachineRunId id,
java.lang.String flowLogicClassName,
FlowInitiator initiator,
DataFeed<java.lang.String,java.lang.String> progressTrackerStepAndUpdates) |
StateMachineInfo |
copy(StateMachineRunId id,
java.lang.String flowLogicClassName,
FlowInitiator initiator,
DataFeed<java.lang.String,java.lang.String> progressTrackerStepAndUpdates,
InvocationContext invocationContext)
Represents information about a flow (the name "state machine" is legacy, Kotlin users can use the FlowInfo type
alias). You can access progress tracking, information about why the flow was started and so on.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getFlowLogicClassName()
The JVM class name of the flow code.
|
StateMachineRunId |
getId()
A universally unique ID
|
FlowInitiator |
getInitiator()
Deprecated.
|
InvocationContext |
getInvocationContext()
An
|
DataFeed<java.lang.String,java.lang.String> |
getProgressTrackerStepAndUpdates()
A
|
int |
hashCode() |
java.lang.String |
toString() |
public StateMachineInfo(StateMachineRunId id, java.lang.String flowLogicClassName, FlowInitiator initiator, DataFeed<java.lang.String,java.lang.String> progressTrackerStepAndUpdates, InvocationContext invocationContext)
Represents information about a flow (the name "state machine" is legacy, Kotlin users can use the FlowInfo type alias). You can access progress tracking, information about why the flow was started and so on.
id
- A universally unique ID (java.util.UUID) representing this particular instance of the named flow.flowLogicClassName
- The JVM class name of the flow code.initiator
- An object representing information about the initiator of the flow. Note that this field issuperseded by the invocationContext property, which has more detail.progressTrackerStepAndUpdates
- A class DataFeed
of the current progress step as a human readable string, and updates to that string.invocationContext
- An class InvocationContext
describing why and by whom the flow was started.public StateMachineInfo copy(StateMachineRunId id, java.lang.String flowLogicClassName, FlowInitiator initiator, DataFeed<java.lang.String,java.lang.String> progressTrackerStepAndUpdates)
public java.lang.String toString()
public StateMachineRunId getId()
A universally unique ID
(java.util.UUID) representing this particular instance of the named flow.
public java.lang.String getFlowLogicClassName()
The JVM class name of the flow code.
public FlowInitiator getInitiator()
An object representing information about the initiator of the flow.
Note that this field issuperseded by the invocationContext property, which has more detail.
public DataFeed<java.lang.String,java.lang.String> getProgressTrackerStepAndUpdates()
A
class DataFeed
of the current progress step as a human readable string, and updates to that string.
class DataFeed
public InvocationContext getInvocationContext()
An
class InvocationContext
describing why and by whom the flow was started.
class InvocationContext
public StateMachineRunId component1()
A universally unique ID
(java.util.UUID) representing this particular instance of the named flow.
public java.lang.String component2()
The JVM class name of the flow code.
public FlowInitiator component3()
An object representing information about the initiator of the flow.
Note that this field issuperseded by the invocationContext property, which has more detail.
public DataFeed<java.lang.String,java.lang.String> component4()
A
class DataFeed
of the current progress step as a human readable string, and updates to that string.
class DataFeed
public InvocationContext component5()
An
class InvocationContext
describing why and by whom the flow was started.
class InvocationContext
public StateMachineInfo copy(StateMachineRunId id, java.lang.String flowLogicClassName, FlowInitiator initiator, DataFeed<java.lang.String,java.lang.String> progressTrackerStepAndUpdates, InvocationContext invocationContext)
Represents information about a flow (the name "state machine" is legacy, Kotlin users can use the FlowInfo type alias). You can access progress tracking, information about why the flow was started and so on.
public int hashCode()
public boolean equals(java.lang.Object p)