Class AbstractMavenConfig
- java.lang.Object
-
- com.atlassian.bamboo.plugins.maven.task.AbstractMavenConfig
-
- Direct Known Subclasses:
Maven1Config
,Maven2Config
,Maven3Config
public abstract class AbstractMavenConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
builderHomePath
static String
CFG_GOALS
static String
CFG_USE_MAVEN_RETURN_CODE
protected Map<String,String>
extraEnvironment
-
Constructor Summary
Constructors Constructor Description AbstractMavenConfig(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor, @NotNull String capabilityPrefix, @NotNull String executableName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getCommandline()
Map<String,String>
getExtraEnvironment()
protected @NotNull String
getMavenExecutablePath(@NotNull String homePath)
String
getTestResultsFilePattern()
File
getWorkingDirectory()
boolean
isHasTests()
boolean
useMavenReturnCode()
-
-
-
Field Detail
-
CFG_GOALS
public static final String CFG_GOALS
- See Also:
- Constant Field Values
-
CFG_USE_MAVEN_RETURN_CODE
public static final String CFG_USE_MAVEN_RETURN_CODE
- See Also:
- Constant Field Values
-
builderHomePath
protected String builderHomePath
-
-
Constructor Detail
-
AbstractMavenConfig
public AbstractMavenConfig(@NotNull @NotNull CommonTaskContext taskContext, @NotNull @NotNull CapabilityContext capabilityContext, @NotNull @NotNull EnvironmentVariableAccessor environmentVariableAccessor, @NotNull @NotNull String capabilityPrefix, @NotNull @NotNull String executableName)
-
-
Method Detail
-
getMavenExecutablePath
@NotNull protected @NotNull String getMavenExecutablePath(@NotNull @NotNull String homePath)
-
isHasTests
public boolean isHasTests()
-
getTestResultsFilePattern
public String getTestResultsFilePattern()
-
getWorkingDirectory
public File getWorkingDirectory()
-
useMavenReturnCode
public boolean useMavenReturnCode()
-
-