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 SummaryAll 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- 
getpublic static GatewayStepRegistry get() - Returns:
- the GatewayStepRegistrysingleton.
 
 - 
registerpublic void register(StepFactory factory) Register aStepFactory.- Parameters:
- factory- the- StepFactoryto register.
 
 - 
unregisterpublic void unregister(StepFactory factory) Unregister aStepFactory.- Parameters:
- factory- the- StepFactoryto unregister.
 
 - 
getStepFactorypublic com.google.common.base.Optional<StepFactory> getStepFactory(java.lang.String id) Get theStepFactoryidentified byid.- Specified by:
- getStepFactoryin interface- StepRegistry
- Parameters:
- id- the id of the factory to get.
- Returns:
- the StepFactoryidentified byid.
 
 
- 
 
-