Parent class for batch updaters operating on the architecture graph
Inheritors
Properties
Link copied to clipboard
Nodes which should be deleted
Link copied to clipboard
Nodes which are updated and need to be saved This may contain nodes also present in deletedNodes
Link copied to clipboard
Nodes which are updated and need to be saved Does not include any deleted nodes
Functions
Link copied to clipboard
private suspend fun expandRelationPartner(relationPartner: RelationPartner, stack: ArrayDeque<RelationPartner>)
Helper to
Link copied to clipboard
private suspend fun findIncomingRelationPartners(relationPartner: RelationPartner): Set<RelationPartner>
Finds all RelationPartners that are connected to a RelationPartner via incoming Relations. Also considers Interfaces of ComponentVersions.
Link copied to clipboard
private suspend fun findOutgoingRelationPartners(relationPartner: RelationPartner): Set<RelationPartner>
Finds all RelationPartners that are connected to a RelationPartner via outgoing Relations. Also considers Interfaces of ComponentVersions.
Link copied to clipboard
Locks all incoming and outgoing RelationPartners of a RelationPartner
Link copied to clipboard
Deletes all deletedNodes and saves all updatedNodes to the database