Class ProjectResourceAdapter
- java.lang.Object
-
- com.inductiveautomation.ignition.common.project.ProjectResourceAdapter
-
- All Implemented Interfaces:
ProjectResourceListener
public abstract class ProjectResourceAdapter extends java.lang.Object implements ProjectResourceListener
-
-
Constructor Summary
Constructors Constructor Description ProjectResourceAdapter()Constructs a no-op ProjectResourceListener that will listen to all resources.ProjectResourceAdapter(ResourceFilter resourceFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceFiltergetResourceFilter()Get theResourceFilterused to filter resources this listener cares about.voidresourcesCreated(java.lang.String projectName, java.util.List<ChangeOperation.CreateResourceOperation> resources)voidresourcesDeleted(java.lang.String projectName, java.util.List<ChangeOperation.DeleteResourceOperation> signatures)voidresourcesModified(java.lang.String projectName, java.util.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 Detail
-
ProjectResourceAdapter
public ProjectResourceAdapter(ResourceFilter resourceFilter)
-
ProjectResourceAdapter
public ProjectResourceAdapter()
Constructs a no-op ProjectResourceListener that will listen to all resources. Override at least one method.
-
-
Method Detail
-
resourcesCreated
public void resourcesCreated(java.lang.String projectName, java.util.List<ChangeOperation.CreateResourceOperation> resources)- Specified by:
resourcesCreatedin interfaceProjectResourceListener
-
resourcesModified
public void resourcesModified(java.lang.String projectName, java.util.List<ChangeOperation.ModifyResourceOperation> resources)- Specified by:
resourcesModifiedin interfaceProjectResourceListener
-
resourcesDeleted
public void resourcesDeleted(java.lang.String projectName, java.util.List<ChangeOperation.DeleteResourceOperation> signatures)- Specified by:
resourcesDeletedin interfaceProjectResourceListener
-
getResourceFilter
@NotNull public ResourceFilter 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.
-
-