Class CommandConfig
java.lang.Object
com.atlassian.bamboo.plugins.command.task.CommandConfig
- All Implemented Interfaces:
ShellConfig
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCommandConfig
(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
CFG_SCRIPT
- See Also:
-
CFG_ARGUMENT
- See Also:
-
CFG_ENVIRONMENT_VARIABLES
- See Also:
-
CAPABILITY_SHORT_KEY
- See Also:
-
COMMAND_CAPABILITY_PREFIX
- See Also:
-
-
Constructor Details
-
CommandConfig
public CommandConfig(@NotNull @NotNull CommonTaskContext taskContext, @NotNull @NotNull CapabilityContext capabilityContext, @NotNull @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
-
Method Details
-
getCommandline
- Specified by:
getCommandline
in interfaceShellConfig
-
getExtraEnvironment
- Specified by:
getExtraEnvironment
in interfaceShellConfig
-
getWorkingDirectory
- Specified by:
getWorkingDirectory
in interfaceShellConfig
-
isRunWithPowershell
public boolean isRunWithPowershell()- Specified by:
isRunWithPowershell
in interfaceShellConfig
-