Class GatewayStepRegistry
- java.lang.Object
 - 
- com.inductiveautomation.sfc.api.elements.GatewayStepRegistry
 
 
- 
- All Implemented Interfaces:
 StepRegistry
public final class GatewayStepRegistry extends java.lang.Object implements StepRegistry
Keeps track of registeredStepFactorys.You can get an instance of this class via:
GatewayStepRegistry.get(). 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GatewayStepRegistryget()com.google.common.base.Optional<StepFactory>getStepFactory(java.lang.String id)Get theStepFactoryidentified byid.voidregister(StepFactory factory)Register aStepFactory.voidunregister(StepFactory factory)Unregister aStepFactory. 
 - 
 
- 
- 
Method Detail
- 
get
public static GatewayStepRegistry get()
- Returns:
 - the 
GatewayStepRegistrysingleton. 
 
- 
register
public void register(StepFactory factory)
Register aStepFactory.- Parameters:
 factory- theStepFactoryto register.
 
- 
unregister
public void unregister(StepFactory factory)
Unregister aStepFactory.- Parameters:
 factory- theStepFactoryto unregister.
 
- 
getStepFactory
public com.google.common.base.Optional<StepFactory> getStepFactory(java.lang.String id)
Get theStepFactoryidentified byid.- Specified by:
 getStepFactoryin interfaceStepRegistry- Parameters:
 id- the id of the factory to get.- Returns:
 - the 
StepFactoryidentified byid. 
 
 - 
 
 -