Class ProjectResourceAdapter
java.lang.Object
com.inductiveautomation.ignition.common.project.ProjectResourceAdapter
- All Implemented Interfaces:
ProjectResourceListener
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a no-op ProjectResourceListener that will listen to all resources.ProjectResourceAdapter(ResourceFilter resourceFilter) -
Method Summary
Modifier and TypeMethodDescriptionGet 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.project.ProjectResourceListener
manifestChanged, onAfterChanges, onBeforeChanges
-
Constructor Details
-
ProjectResourceAdapter
-
ProjectResourceAdapter
public ProjectResourceAdapter()Constructs a no-op ProjectResourceListener 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 interfaceProjectResourceListener
-
resourcesModified
public void resourcesModified(String projectName, List<ChangeOperation.ModifyResourceOperation> resources) - Specified by:
resourcesModifiedin interfaceProjectResourceListener
-
resourcesDeleted
public void resourcesDeleted(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) - Specified by:
resourcesDeletedin interfaceProjectResourceListener
-
getResourceFilter
Description copied from interface:ProjectResourceListenerGet theResourceFilterused to filter resources this listener cares about. Default is to care about all resources.- Specified by:
getResourceFilterin interfaceProjectResourceListener- Returns:
- the
ResourceFilterused to filter resources this listener cares about.
-