Class OriginalLoadedScripts
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.replay.OriginalLoadedScripts
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class OriginalLoadedScripts extends Object implements ExtensionPoint
Defines which scripts are eligible to be replaced byReplayAction.run
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description OriginalLoadedScripts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
loadScripts(CpsFlowExecution execution)
Finds scripts which are eligible for replacement.
-
-
-
Method Detail
-
loadScripts
@NonNull public Map<String,String> loadScripts(@NonNull CpsFlowExecution execution)
Finds scripts which are eligible for replacement.- Parameters:
execution
- a build- Returns:
- a map from Groovy class names to their original texts, as in
ReplayAction.replace(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution, java.lang.String)
-
-