Interface StepFactory
- All Superinterfaces:
StepDelegate
StepFactorys are responsible for instantiating StepElements;
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 aStepElementas defined bydefinition.Methods inherited from interface com.inductiveautomation.sfc.api.StepDelegate
fromXml, getCompilationAlteringProperties, getId, toXml, validate
-
Method Details
-
create
Create aStepElementas defined bydefinition.- Parameters:
context- theChartContextthis step will execute in.scopeContext- theScopeContextprovides access to the chart and step scopes. The step scope will be reset for each activation.definition- theStepDefinition.- Returns:
- a
StepElementinstance.
-