Interface UndoingSynchronizer
- All Superinterfaces:
StructureSynchronizer
A
StructureSynchronizer that is able to undo synchronizer actions.
To enable a synchronizer for undoing actions, the actions that are applied during StructureSynchronizer.sync(com.almworks.jira.structure.api.sync.SyncInstance, com.almworks.jira.structure.api.sync.IncrementalSyncData, com.almworks.jira.structure.api.forest.ForestSource)
or StructureSynchronizer.resync(com.almworks.jira.structure.api.sync.SyncInstance, com.almworks.jira.structure.api.forest.ForestSource) should be recorded in SyncAuditLog.
The synchronizer that implements this interface will then receive these actions in the same format in undo(java.util.List<com.almworks.jira.structure.api.util.MapObject>).
It is up to the synchronizer author to supply sufficient information for undo in the actions recorded in SyncAuditLog.- Author:
- sank
-
Field Summary
Fields -
Method Summary
-
Field Details
-
FAILURE_REASON_UNKNOWN_ACTION
- See Also:
-
-
Method Details
-
undo
Undoes the specified actions, performing zero or more undo actions. Returns the performed undo actions. They should be in the same format as the specified actions.
-