public class CommandConfig extends Object implements ShellConfig
Modifier and Type | Field and Description |
---|---|
static String |
CFG_ARGUMENT |
static String |
CFG_SCRIPT |
static String |
COMMAND_CAPABILITY_PREFIX |
Constructor and Description |
---|
CommandConfig(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getCommandline() |
Map<String,String> |
getExtraEnvironment() |
File |
getWorkingDirectory() |
boolean |
isRunWithPowershell() |
public static final String CFG_SCRIPT
public static final String CFG_ARGUMENT
public static final String COMMAND_CAPABILITY_PREFIX
public CommandConfig(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
public List<String> getCommandline()
getCommandline
in interface ShellConfig
public Map<String,String> getExtraEnvironment()
getExtraEnvironment
in interface ShellConfig
public File getWorkingDirectory()
getWorkingDirectory
in interface ShellConfig
public boolean isRunWithPowershell()
isRunWithPowershell
in interface ShellConfig
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.