Class EventStreamProjectLifecycleFactory.Lifecycle
java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
com.inductiveautomation.ignition.gateway.resourcecollection.ResourceCollectionLifecycle
com.inductiveautomation.eventstream.gateway.project.EventStreamProjectLifecycleFactory.Lifecycle
- All Implemented Interfaces:
Lifecycle
- Enclosing class:
- EventStreamProjectLifecycleFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonResourcesCreated(List<Resource> resources) Resources matching the interests of this lifecycle were created.protected voidonResourcesDeleted(List<ResourceId> resourceIds) Resources matching the interests of this lifecycle were deleted.protected voidonResourcesModified(List<Resource> resources) Resources matching the interests of this lifecycle were modified.protected voidonShutdown(List<ResourceId> resourceIds) Shut down thisResourceCollectionLifecycle.protected voidStart thisResourceCollectionLifecycle.Methods inherited from class com.inductiveautomation.ignition.gateway.resourcecollection.ResourceCollectionLifecycle
getResourceChangeFilter, getResourceCollection, initialize, onAfterChanges, onBeforeChanges, onManifestChanged, onShutdown, onStartupMethods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startup
-
Constructor Details
-
Lifecycle
-
-
Method Details
-
onStartup
Description copied from class:ResourceCollectionLifecycleStart thisResourceCollectionLifecycle.- Specified by:
onStartupin classResourceCollectionLifecycle- Parameters:
resources- initial list of resources that match the scope and type interests of this lifecycle.
-
onShutdown
Description copied from class:ResourceCollectionLifecycleShut down thisResourceCollectionLifecycle.- Specified by:
onShutdownin classResourceCollectionLifecycle- Parameters:
resourceIds- list ofResourceIds that match the scope and type interests of this lifecycle.
-
onResourcesCreated
Description copied from class:ResourceCollectionLifecycleResources matching the interests of this lifecycle were created.This is a chance for subclasses to do something of interest with these new resources, e.g. "run" them.
- Specified by:
onResourcesCreatedin classResourceCollectionLifecycle- Parameters:
resources-Resources matching the interests of this lifecycle.
-
onResourcesModified
Description copied from class:ResourceCollectionLifecycleResources matching the interests of this lifecycle were modified.This is a chance for subclasses to do something of interest with these modified resources, e.g. stop "running" something based on the old resource and start "running" something based on the newly modified resource.
- Specified by:
onResourcesModifiedin classResourceCollectionLifecycle- Parameters:
resources-Resources matching the interests of this lifecycle.
-
onResourcesDeleted
Description copied from class:ResourceCollectionLifecycleResources matching the interests of this lifecycle were deleted.This is a chance for subclasses to do something of interest with these deleted resources, e.g. stop "running" something based on the resource.
- Specified by:
onResourcesDeletedin classResourceCollectionLifecycle- Parameters:
resourceIds-ResourceIds matching the interests of this lifecycle.
-