com.atlassian.bamboo.plugins.command.task
Class CommandConfig

java.lang.Object
  extended by com.atlassian.bamboo.plugins.command.task.CommandConfig
All Implemented Interfaces:
ShellConfig

public class CommandConfig
extends java.lang.Object
implements ShellConfig


Field Summary
static java.lang.String CFG_ARGUMENT
           
static java.lang.String CFG_SCRIPT
           
static java.lang.String COMMAND_CAPABILITY_PREFIX
           
 
Fields inherited from interface com.atlassian.bamboo.plugins.shell.task.ShellConfig
CFG_RUN_WITH_POWERSHELL
 
Constructor Summary
CommandConfig(CommonTaskContext taskContext, CapabilityContext capabilityContext, EnvironmentVariableAccessor environmentVariableAccessor)
           
 
Method Summary
 java.util.List<java.lang.String> getCommandline()
           
 java.util.Map<java.lang.String,java.lang.String> getExtraEnvironment()
           
 java.io.File getWorkingDirectory()
           
 boolean isRunWithPowershell()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFG_SCRIPT

public static final java.lang.String CFG_SCRIPT
See Also:
Constant Field Values

CFG_ARGUMENT

public static final java.lang.String CFG_ARGUMENT
See Also:
Constant Field Values

COMMAND_CAPABILITY_PREFIX

public static final java.lang.String COMMAND_CAPABILITY_PREFIX
See Also:
Constant Field Values
Constructor Detail

CommandConfig

public CommandConfig(@NotNull
                     CommonTaskContext taskContext,
                     @NotNull
                     CapabilityContext capabilityContext,
                     @NotNull
                     EnvironmentVariableAccessor environmentVariableAccessor)
Method Detail

getCommandline

public java.util.List<java.lang.String> getCommandline()
Specified by:
getCommandline in interface ShellConfig

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

isRunWithPowershell

public boolean isRunWithPowershell()
Specified by:
isRunWithPowershell in interface ShellConfig


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.