Class SfcGatewayHook
java.lang.Object
com.inductiveautomation.ignition.gateway.model.AbstractGatewayModuleHook
com.inductiveautomation.sfc.api.SfcGatewayHook
- All Implemented Interfaces:
GatewayModuleHook
This is the entry-point to the Gateway scope section of the SFC module's API.
To register a new step, see getStepRegistry().
To register a new transition, see getTransitionRegistry().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SfcGatewayHookget(GatewayContext context) abstract GatewayStepRegistryabstract GatewayTransitionRegistryMethods inherited from class AbstractGatewayModuleHook
configureDeserializer, configureFunctionFactory, configureSerializer, getRpcImplementation, initializeScriptManager, notifyLicenseStateChangedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GatewayModuleHook
getExtensionPoints, getMountedResourceFolder, getMountPathAlias, isFreeModule, isMakerEditionCompatible, mountRouteHandlers, onMountedResourceRequest, setup, shutdown, startup
-
Constructor Details
-
SfcGatewayHook
public SfcGatewayHook()
-
-
Method Details
-
get
- Parameters:
context- theGatewayContext.- Returns:
- the
SfcGatewayHookinstance. - Throws:
IllegalStateException- if the SFC module is not installed or not currently active, which can happen if this is called during another module'sGatewayModuleHook.setup(GatewayContext).
-
getStepRegistry
- Returns:
- the
GatewayStepRegistryto register newStepFactorys with.
-
getTransitionRegistry
- Returns:
- the
GatewayTransitionRegistryto register newTransitionFactorys with.
-