public class FlowModelFlowBuilder extends AbstractFlowBuilder
Constructor and Description |
---|
FlowModelFlowBuilder(FlowModelHolder flowModelHolder)
|
Modifier and Type | Method and Description |
---|---|
void |
buildEndActions()
Builds any end actions to execute when the flow ends.
|
void |
buildExceptionHandlers()
Creates and adds all exception handlers to the flow built by this builder.
|
void |
buildGlobalTransitions()
Builds any transitions shared by all states of the flow.
|
void |
buildInputMapper()
Builds the input mapper responsible for mapping flow input on start.
|
void |
buildOutputMapper()
Builds the output mapper responsible for mapping flow output on end.
|
void |
buildStartActions()
Builds any start actions to execute when the flow starts.
|
void |
buildStates()
Builds the states of the flow.
|
void |
buildVariables()
Builds any variables initialized by the flow when it starts.
|
String |
getFlowResourceString()
Returns a string describing the location of the flow resource; the logical location where the source code can be
found.
|
boolean |
hasFlowChanged()
As the underlying flow managed by this builder changed since the last build occurred?
|
String |
toString() |
dispose, getFlow, init
public FlowModelFlowBuilder(FlowModelHolder flowModelHolder)
flowModelHolder
- the flow model holderpublic void buildVariables() throws FlowBuilderException
buildVariables
in interface FlowBuilder
buildVariables
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building the flowpublic void buildInputMapper() throws FlowBuilderException
buildInputMapper
in interface FlowBuilder
buildInputMapper
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building the flowpublic void buildStartActions() throws FlowBuilderException
buildStartActions
in interface FlowBuilder
buildStartActions
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building the flowpublic void buildStates() throws FlowBuilderException
buildStates
in interface FlowBuilder
buildStates
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building the flowpublic void buildGlobalTransitions() throws FlowBuilderException
buildGlobalTransitions
in interface FlowBuilder
buildGlobalTransitions
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building the flowpublic void buildEndActions() throws FlowBuilderException
buildEndActions
in interface FlowBuilder
buildEndActions
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building the flowpublic void buildOutputMapper() throws FlowBuilderException
buildOutputMapper
in interface FlowBuilder
buildOutputMapper
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building the flowpublic void buildExceptionHandlers() throws FlowBuilderException
buildExceptionHandlers
in interface FlowBuilder
buildExceptionHandlers
in class AbstractFlowBuilder
FlowBuilderException
- an exception occurred building this flowpublic boolean hasFlowChanged()
FlowBuilder
hasFlowChanged
in interface FlowBuilder
hasFlowChanged
in class AbstractFlowBuilder
public String getFlowResourceString()
FlowBuilder
getFlowResourceString
in interface FlowBuilder
getFlowResourceString
in class AbstractFlowBuilder