com.atlassian.bamboo.plugins.script.task
Class ScriptConfig
java.lang.Object
com.atlassian.bamboo.plugins.script.task.ScriptConfig
- All Implemented Interfaces:
- ShellConfig
public class ScriptConfig
- extends java.lang.Object
- implements ShellConfig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CFG_SCRIPT_FILE
public static final java.lang.String CFG_SCRIPT_FILE
- See Also:
- Constant Field Values
CFG_ARGUMENT
public static final java.lang.String CFG_ARGUMENT
- See Also:
- Constant Field Values
CFG_SCRIPT_BODY
public static final java.lang.String CFG_SCRIPT_BODY
- See Also:
- Constant Field Values
CFG_SCRIPT_LOCATION_TYPE
public static final java.lang.String CFG_SCRIPT_LOCATION_TYPE
- See Also:
- Constant Field Values
DEFAULT_UNIX_EXECUTOR
public static final java.lang.String DEFAULT_UNIX_EXECUTOR
- See Also:
- Constant Field Values
ScriptConfig
public ScriptConfig(@NotNull
TaskContext taskContext,
@NotNull
EnvironmentVariableAccessor environmentVariableAccessor)
getCommandline
public java.util.List<java.lang.String> getCommandline()
- Specified by:
getCommandline
in interface ShellConfig
getScriptLocation
public ScriptConfig.ScriptLocation getScriptLocation()
getScriptBody
public java.lang.String getScriptBody()
setScriptFilename
public void setScriptFilename(java.lang.String scriptFilename)
getExtraEnvironment
public java.util.Map<java.lang.String,java.lang.String> getExtraEnvironment()
- Specified by:
getExtraEnvironment
in interface ShellConfig
getWorkingDirectory
public java.io.File getWorkingDirectory()
- Specified by:
getWorkingDirectory
in interface ShellConfig
Copyright © 2012 Atlassian. All Rights Reserved.