public abstract class StepWrapperScript
extends org.jenkinsci.plugins.workflow.cps.CpsScript
| Modifier and Type | Class and Description |
|---|---|
static class |
StepWrapperScript.ConfigReservedVariable
reserves the config var from being overridden in the binding
|
static class |
StepWrapperScript.HookContextReservedVariable
reserves the config var from being overridden in the binding
|
static class |
StepWrapperScript.ResourceReservedVariable
reserves the config var from being overridden in the binding
|
static class |
StepWrapperScript.StageContextReservedVariable
reserves the config var from being overridden in the binding
|
| Constructor and Description |
|---|
StepWrapperScript() |
| Modifier and Type | Method and Description |
|---|---|
java.util.LinkedHashMap |
getConfig() |
org.boozallen.plugins.jte.init.primitives.hooks.HookContext |
getHookContext() |
org.boozallen.plugins.jte.init.primitives.injectors.StageInjector.StageContext |
getStageContext() |
java.lang.String |
resource(java.lang.String path)
Used within steps to access library resources
|
void |
setConfig(java.util.LinkedHashMap config) |
void |
setHookContext(org.boozallen.plugins.jte.init.primitives.hooks.HookContext hookContext) |
void |
setResourcesBaseDir(hudson.FilePath resourcesBaseDir) |
void |
setStageContext(org.boozallen.plugins.jte.init.primitives.injectors.StageInjector.StageContext stageContext) |
public StepWrapperScript()
throws java.io.IOException
java.io.IOExceptionpublic void setConfig(java.util.LinkedHashMap config)
public java.util.LinkedHashMap getConfig()
public void setHookContext(org.boozallen.plugins.jte.init.primitives.hooks.HookContext hookContext)
public org.boozallen.plugins.jte.init.primitives.hooks.HookContext getHookContext()
public void setStageContext(org.boozallen.plugins.jte.init.primitives.injectors.StageInjector.StageContext stageContext)
public org.boozallen.plugins.jte.init.primitives.injectors.StageInjector.StageContext getStageContext()
public void setResourcesBaseDir(hudson.FilePath resourcesBaseDir)
public java.lang.String resource(java.lang.String path)
throws java.io.IOException,
java.lang.InterruptedException
path - relative path within the resources directory to fetchjava.io.IOException - throws thisjava.lang.InterruptedException - throws this