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