com.atlassian.bamboo.plugins.maven.task
Class AbstractMavenConfig

java.lang.Object
  extended by com.atlassian.bamboo.plugins.maven.task.AbstractMavenConfig
Direct Known Subclasses:
Maven1Config, Maven2Config, Maven3Config

public abstract class AbstractMavenConfig
extends java.lang.Object


Field Summary
protected  java.lang.String builderPath
           
static java.lang.String CFG_GOALS
           
static java.lang.String CFG_USE_MAVEN_RETURN_CODE
           
protected  java.util.Map<java.lang.String,java.lang.String> extraEnvironment
           
 
Constructor Summary
AbstractMavenConfig(TaskContext taskContext, CapabilityContext capabilityContext, EnvironmentVariableAccessor environmentVariableAccessor, java.lang.String capabilityPrefix, java.lang.String executableName)
           
 
Method Summary
 java.util.List<java.lang.String> getCommandline()
           
 java.util.Map<java.lang.String,java.lang.String> getExtraEnvironment()
           
protected  java.lang.String getMavenExecutablePath(java.lang.String homePath)
           
 java.lang.String getTestResultsFilePattern()
           
 java.io.File getWorkingDirectory()
           
 boolean isHasTests()
           
 boolean useMavenReturnCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFG_GOALS

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

CFG_USE_MAVEN_RETURN_CODE

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

extraEnvironment

protected final java.util.Map<java.lang.String,java.lang.String> extraEnvironment

builderPath

protected java.lang.String builderPath
Constructor Detail

AbstractMavenConfig

public AbstractMavenConfig(@NotNull
                           TaskContext taskContext,
                           @NotNull
                           CapabilityContext capabilityContext,
                           @NotNull
                           EnvironmentVariableAccessor environmentVariableAccessor,
                           @NotNull
                           java.lang.String capabilityPrefix,
                           @NotNull
                           java.lang.String executableName)
Method Detail

getMavenExecutablePath

@NotNull
protected java.lang.String getMavenExecutablePath(@NotNull
                                                          java.lang.String homePath)

getCommandline

public java.util.List<java.lang.String> getCommandline()

getExtraEnvironment

public java.util.Map<java.lang.String,java.lang.String> getExtraEnvironment()

isHasTests

public boolean isHasTests()

getTestResultsFilePattern

public java.lang.String getTestResultsFilePattern()

getWorkingDirectory

public java.io.File getWorkingDirectory()

useMavenReturnCode

public boolean useMavenReturnCode()


Copyright © 2012 Atlassian. All Rights Reserved.