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 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 String CFG_SCRIPT_FILE
- See Also:
- Constant Field Values
CFG_ARGUMENT
public static final String CFG_ARGUMENT
- See Also:
- Constant Field Values
CFG_SCRIPT_BODY
public static final String CFG_SCRIPT_BODY
- See Also:
- Constant Field Values
CFG_SCRIPT_LOCATION_TYPE
public static final String CFG_SCRIPT_LOCATION_TYPE
- See Also:
- Constant Field Values
DEFAULT_UNIX_EXECUTOR
public static final String DEFAULT_UNIX_EXECUTOR
- See Also:
- Constant Field Values
ScriptConfig
public ScriptConfig(@NotNull
CommonTaskContext taskContext,
@NotNull
EnvironmentVariableAccessor environmentVariableAccessor)
ScriptConfig
protected ScriptConfig(boolean runWithPowershell)
wrapPowershellCommandIfNecessary
protected String wrapPowershellCommandIfNecessary(String absolutePath)
getCommandline
public List<String> getCommandline()
- Specified by:
getCommandline in interface ShellConfig
getScriptLocation
public ScriptConfig.ScriptLocation getScriptLocation()
getScriptBody
public String getScriptBody()
setScriptFilename
public void setScriptFilename(String scriptFilename)
getExtraEnvironment
public Map<String,String> getExtraEnvironment()
- Specified by:
getExtraEnvironment in interface ShellConfig
getWorkingDirectory
public File getWorkingDirectory()
- Specified by:
getWorkingDirectory in interface ShellConfig
isRunWithPowershell
public boolean isRunWithPowershell()
- Specified by:
isRunWithPowershell in interface ShellConfig
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.