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 void
clear()
boolean
isConflict(ResourcePath path)
void
onAfterProjectPush()
Occurs after changes have been successfully saved to the gateway.void
resourcesCreated(java.lang.String projectName, java.util.List<ChangeOperation.CreateResourceOperation> resources)
void
resourcesDeleted(java.lang.String projectName, java.util.List<ChangeOperation.DeleteResourceOperation> signatures)
void
resourcesModified(java.lang.String projectName, java.util.List<ChangeOperation.ModifyResourceOperation> resources)
void
setContext(DesignerContext context)
void
update(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:DesignerProjectResourceListener
Occurs after changes have been successfully saved to the gateway.- Specified by:
onAfterProjectPush
in interfaceDesignerProjectResourceListener
-
resourcesCreated
public void resourcesCreated(java.lang.String projectName, java.util.List<ChangeOperation.CreateResourceOperation> resources)
- Specified by:
resourcesCreated
in interfaceProjectResourceListener
-
resourcesModified
public void resourcesModified(java.lang.String projectName, java.util.List<ChangeOperation.ModifyResourceOperation> resources)
- Specified by:
resourcesModified
in interfaceProjectResourceListener
-
resourcesDeleted
public void resourcesDeleted(java.lang.String projectName, java.util.List<ChangeOperation.DeleteResourceOperation> signatures)
- Specified by:
resourcesDeleted
in interfaceProjectResourceListener
-
-