Class SpaceContentErasersListBuilder

java.lang.Object
com.atlassian.confluence.impl.space.deletion.backgrounddeletion.erasers.SpaceContentErasersListBuilder

public class SpaceContentErasersListBuilder extends Object

Creates all erasers for all depending on the SPACES table.

Since:
9.1.0
See Also:
  • Constructor Details

  • Method Details

    • createAllErasers

      public Map<Class<?>,EntityEraser> createAllErasers(Collection<ExportableEntityInfo> allEntities, ConfluenceUser initiator, BooleanSupplier isDeadlineReached)
      Create all erasers for current space deletion iteration. This method should be called for every iteration.
      Parameters:
      allEntities - all hibernate entities (can be space-related only)
      isDeadlineReached - supplier that signals about whether the deadline reached or not
      Returns:
      map of all erasers where the key is the hibernate entity class