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 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.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:
resourcesCreated
in interfaceProjectResourceListener
-
resourcesModified
public void resourcesModified(String projectName, List<ChangeOperation.ModifyResourceOperation> resources) - Specified by:
resourcesModified
in interfaceProjectResourceListener
-
resourcesDeleted
public void resourcesDeleted(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) - Specified by:
resourcesDeleted
in interfaceProjectResourceListener
-
getResourceFilter
Description copied from interface:ProjectResourceListener
Get theResourceFilter
used to filter resources this listener cares about. Default is to care about all resources.- Specified by:
getResourceFilter
in interfaceProjectResourceListener
- Returns:
- the
ResourceFilter
used to filter resources this listener cares about.
-