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 ResourceFilterGet theResourceFilterused to filter resources this listener cares about.voidresourcesCreated(String projectName, List<ChangeOperation.CreateResourceOperation> resources) voidresourcesDeleted(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) voidresourcesModified(String projectName, List<ChangeOperation.ModifyResourceOperation> resources) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
resourcesCreatedin interfaceResourceListener
-
resourcesModified
public void resourcesModified(String projectName, List<ChangeOperation.ModifyResourceOperation> resources) - Specified by:
resourcesModifiedin interfaceResourceListener
-
resourcesDeleted
public void resourcesDeleted(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) - Specified by:
resourcesDeletedin interfaceResourceListener
-
getResourceFilter
Description copied from interface:ResourceListenerGet theResourceFilterused to filter resources this listener cares about. Default is to care about all resources.- Specified by:
getResourceFilterin interfaceResourceListener- Returns:
- the
ResourceFilterused to filter resources this listener cares about.
-