Class GatewayStepRegistry
java.lang.Object
com.inductiveautomation.sfc.api.elements.GatewayStepRegistry
- All Implemented Interfaces:
 StepRegistry
Keeps track of registered 
StepFactorys.
 
 You can get an instance of this class via: GatewayStepRegistry.get().
- 
Method Summary
Modifier and TypeMethodDescriptionstatic GatewayStepRegistryget()com.google.common.base.Optional<StepFactory>getStepFactory(String id) Get theStepFactoryidentified byid.voidregister(StepFactory factory) Register aStepFactory.voidunregister(StepFactory factory) Unregister aStepFactory. 
- 
Method Details
- 
get
- Returns:
 - the 
GatewayStepRegistrysingleton. 
 - 
register
Register aStepFactory.- Parameters:
 factory- theStepFactoryto register.
 - 
unregister
Unregister aStepFactory.- Parameters:
 factory- theStepFactoryto unregister.
 - 
getStepFactory
Get theStepFactoryidentified byid.- Specified by:
 getStepFactoryin interfaceStepRegistry- Parameters:
 id- the id of the factory to get.- Returns:
 - the 
StepFactoryidentified byid. 
 
 -