Class ResourceAdapter
java.lang.Object
com.inductiveautomation.ignition.common.resourcecollection.ResourceAdapter
- All Implemented Interfaces:
ResourceListener
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a no-op ResourceListener that will listen to all resources.ResourceAdapter
(ResourceFilter resourceFilter) -
Method Summary
Modifier and TypeMethodDescription@NotNull ResourceFilter
Get theResourceFilter
used to filter resources this listener cares about.void
resourcesCreated
(String projectName, List<ChangeOperation.CreateResourceOperation> resources) void
resourcesDeleted
(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) void
resourcesModified
(String projectName, List<ChangeOperation.ModifyResourceOperation> resources) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.resourcecollection.ResourceListener
manifestChanged, onAfterChanges, onBeforeChanges
-
Constructor Details
-
ResourceAdapter
-
ResourceAdapter
public ResourceAdapter()Constructs a no-op ResourceListener that will listen to all resources. Override at least one method.
-
-
Method Details
-
resourcesCreated
public void resourcesCreated(String projectName, List<ChangeOperation.CreateResourceOperation> resources) - Specified by:
resourcesCreated
in interfaceResourceListener
-
resourcesModified
public void resourcesModified(String projectName, List<ChangeOperation.ModifyResourceOperation> resources) - Specified by:
resourcesModified
in interfaceResourceListener
-
resourcesDeleted
public void resourcesDeleted(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) - Specified by:
resourcesDeleted
in interfaceResourceListener
-
getResourceFilter
Description copied from interface:ResourceListener
Get theResourceFilter
used to filter resources this listener cares about. Default is to care about all resources.- Specified by:
getResourceFilter
in interfaceResourceListener
- Returns:
- the
ResourceFilter
used to filter resources this listener cares about.
-