Interface StepFactory
- 
- All Superinterfaces:
 StepDelegate
public interface StepFactory extends StepDelegate
StepFactorys are responsible for instantiatingStepElements; the interface encapsulating the execution logic of a an SFC step. To add a new type of step, you'll need to register aStepFactorywith theGatewayStepRegistry. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StepElementcreate(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 Detail
- 
create
StepElement create(ChartContext context, ScopeContext scopeContext, StepDefinition definition)
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. 
 
 - 
 
 -