Interface StepFactory
- All Superinterfaces:
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
.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ChartContext context, ScopeContext scopeContext, StepDefinition definition) Create aStepElement
as defined bydefinition
.Methods inherited from interface com.inductiveautomation.sfc.api.StepDelegate
fromXml, getCompilationAlteringProperties, getId, toXml, validate
-
Method Details
-
create
Create aStepElement
as defined bydefinition
.- Parameters:
context
- theChartContext
this step will execute in.scopeContext
- theScopeContext
provides access to the chart and step scopes. The step scope will be reset for each activation.definition
- theStepDefinition
.- Returns:
- a
StepElement
instance.
-