Class StashManager.StashBehavior
java.lang.Object
org.jenkinsci.plugins.workflow.flow.StashManager.StashBehavior
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- StashManager
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldClearAll
(Run<?, ?> build) Allows the normal clearing behavior to be suppressed.
-
Constructor Details
-
StashBehavior
public StashBehavior()
-
-
Method Details
-
shouldClearAll
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
-