Class StashManager.StashBehavior

  • All Implemented Interfaces:
    ExtensionPoint
    Enclosing class:
    StashManager

    public abstract static class StashManager.StashBehavior
    extends Object
    implements ExtensionPoint
    Extension point for customizing behavior of stashes from other plugins.
    • Constructor Detail

      • StashBehavior

        public StashBehavior()
    • Method Detail

      • shouldClearAll

        public boolean shouldClearAll​(@NonNull
                                      Run<?,​?> build)
        Allows the normal clearing behavior to be suppressed.
        Parameters:
        build - a build which has finished
        Returns:
        true (the default) to go ahead and call StashManager.clearAll(hudson.model.Run<?, ?>), false to stop