Class AbstractClientContext.ClientContextResourceListener
java.lang.Object
com.inductiveautomation.ignition.client.model.AbstractClientContext.ClientContextResourceListener
- All Implemented Interfaces:
ResourceListener
- Enclosing class:
- AbstractClientContext
protected class AbstractClientContext.ClientContextResourceListener
extends Object
implements ResourceListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called after a set of change operations is applied, which may result in multiple calls to toResourceListener.resourcesCreated(String, List)
,ResourceListener.resourcesModified(String, List)
, andResourceListener.resourcesDeleted(String, List)
}.void
onBeforeChanges
(ResourceChangeContext context) Called before a set of change operations is applied, which may result in multiple calls toResourceListener.resourcesCreated(String, List)
,ResourceListener.resourcesModified(String, List)
, andResourceListener.resourcesDeleted(String, List)
}.void
resourcesCreated
(String projectName, List<ChangeOperation.CreateResourceOperation> resources) void
resourcesDeleted
(String projectName, List<ChangeOperation.DeleteResourceOperation> signatures) void
resourcesModified
(String projectName, List<ChangeOperation.ModifyResourceOperation> resources) protected void
updateResources
(List<? extends ChangeOperation.ResourceChangeOperation> changes) 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
getResourceFilter, manifestChanged
-
Field Details
-
updateModuleLibrary
protected boolean updateModuleLibrary
-
-
Constructor Details
-
ClientContextResourceListener
protected ClientContextResourceListener()
-
-
Method Details
-
onBeforeChanges
Description copied from interface:ResourceListener
Called before a set of change operations is applied, which may result in multiple calls toResourceListener.resourcesCreated(String, List)
,ResourceListener.resourcesModified(String, List)
, andResourceListener.resourcesDeleted(String, List)
}.- Specified by:
onBeforeChanges
in interfaceResourceListener
-
onAfterChanges
public void onAfterChanges()Description copied from interface:ResourceListener
Called after a set of change operations is applied, which may result in multiple calls to toResourceListener.resourcesCreated(String, List)
,ResourceListener.resourcesModified(String, List)
, andResourceListener.resourcesDeleted(String, List)
}.- Specified by:
onAfterChanges
in interfaceResourceListener
-
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
-
updateResources
-