public abstract class ScriptSource extends Object implements hudson.model.Describable<ScriptSource>
| Modifier and Type | Class and Description |
|---|---|
static class |
ScriptSource.ScriptSourceDescriptor |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_SCRIPT_NAME |
protected static String |
DEFAULTSCRIPT_SUFFIX |
protected String |
scriptName |
| Constructor and Description |
|---|
ScriptSource() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<ScriptSource,ScriptSource.ScriptSourceDescriptor> |
all() |
hudson.FilePath |
createDefaultScriptFile(String scriptContent,
hudson.model.AbstractBuild<?,?> build) |
abstract void |
createScriptFile(hudson.model.AbstractBuild<?,?> build) |
abstract String |
getDefaultScriptPath() |
String |
getScriptName() |
protected static final String DEFAULT_SCRIPT_NAME
protected static final String DEFAULTSCRIPT_SUFFIX
protected String scriptName
public String getScriptName()
public abstract String getDefaultScriptPath()
public abstract void createScriptFile(hudson.model.AbstractBuild<?,?> build)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic hudson.FilePath createDefaultScriptFile(String scriptContent, hudson.model.AbstractBuild<?,?> build) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic static hudson.DescriptorExtensionList<ScriptSource,ScriptSource.ScriptSourceDescriptor> all()
Copyright © 2004-2016. All Rights Reserved.