public interface StepFactory extends StepDelegate
StepFactory
s are responsible for instantiating StepElement
s;
the interface encapsulating the execution logic of a an SFC step.
To add a new type of step, you'll need to register a StepFactory
with the GatewayStepRegistry
.Modifier and Type | Method and Description |
---|---|
StepElement |
create(ChartContext context,
ScopeContext scopeContext,
StepDefinition definition)
Create a
StepElement as defined by definition . |
fromXml, getCompilationAlteringProperties, getId, toXml, validate
StepElement create(ChartContext context, ScopeContext scopeContext, StepDefinition definition)
StepElement
as defined by definition
.context
- the ChartContext
this step will execute in.scopeContext
- the ScopeContext
provides access to the chart and
step scopes. The step scope will be reset for each activation.definition
- the StepDefinition
.StepElement
instance.