Class StashManager.StashBehavior
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.flow.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description StashBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldClearAll(Run<?,?> build)
Allows the normal clearing behavior to be suppressed.
-
-
-
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
-
-