Interface CleanerListener

All Known Implementing Classes:
DefaultCleanupListener

public interface CleanerListener
Listener that can be used to react on cleanup events created for items that are marked with action CleanupPathAction.ASK.
  • Method Details

    • onConfirmOptionalCleanup

      default boolean onConfirmOptionalCleanup(CleanupEvent<Item<?,?>> event)
      Method that allows consumers to react on cleanup event marked with action CleanupPathAction.ASK.
      Returns:
      true if the item should be removed, false otherwise
    • onReferenceCleanup

      default void onReferenceCleanup(CleanupEvent<PrismReference> event)