Class PendingUpdateState
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.concurrency.ui.PendingUpdateState
-
- All Implemented Interfaces:
ProjectResourceListener,DesignerProjectResourceListener
public class PendingUpdateState extends java.lang.Object implements DesignerProjectResourceListener
Represents the current state of resources if we were to do an update
-
-
Constructor Summary
Constructors Constructor Description PendingUpdateState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanisConflict(ResourcePath path)voidonAfterProjectPush()Occurs after changes have been successfully saved to the gateway.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)voidsetContext(DesignerContext context)voidupdate(DesignerProjectUpdate update)-
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.designer.project.DesignerProjectResourceListener
resourcesInheritanceChanged
-
Methods inherited from interface com.inductiveautomation.ignition.common.project.ProjectResourceListener
getResourceFilter, manifestChanged, onAfterChanges, onBeforeChanges
-
-
-
-
Method Detail
-
setContext
public void setContext(DesignerContext context)
-
update
public void update(DesignerProjectUpdate update)
-
clear
public void clear()
-
isConflict
public boolean isConflict(ResourcePath path)
-
onAfterProjectPush
public void onAfterProjectPush()
Description copied from interface:DesignerProjectResourceListenerOccurs after changes have been successfully saved to the gateway.- Specified by:
onAfterProjectPushin interfaceDesignerProjectResourceListener
-
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
-
-