Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce SaveableListener#onDeleted #9743

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 17, 2024

  1. Introduce SaveableListener#onDeleted

    Usually `Saveable` objects are written, but it can happen on occasion that they get deleted, and it wasn't generating an event for every case.
    
    This provides a more fine-grained event that can be handled by implemented listeners.
    
    In my case, I have a use case in CloudBees CI where I need to clear a cache entry when a Saveable gets deleted from disk.
    Vlatombe committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    863c273 View commit details
    Browse the repository at this point in the history
  2. Spotless

    Vlatombe committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    3ed5370 View commit details
    Browse the repository at this point in the history