public class AntConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ANT_CAPABILITY_PREFIX |
protected static String |
ANT_EXECUTABLE_NAME_UNIX |
protected static String |
ANT_EXECUTABLE_NAME_WINDOWS |
protected String |
builderLabel |
protected String |
builderPath |
protected String |
buildFile |
static String |
CFG_BUILD_FILE |
static String |
CFG_BUILDER_LABEL |
protected static String |
CFG_ENVIRONMENT_VARIABLES |
protected static String |
CFG_HAS_TESTS |
static String |
CFG_JDK_LABEL |
static String |
CFG_TARGETS |
protected static String |
CFG_TEST_RESULTS_FILE_PATTERN |
protected String |
environmentVariables |
protected Map<String,String> |
extraEnvironment |
protected boolean |
hasTests |
protected String |
jdkLabel |
protected List<String> |
targets |
protected String |
testResultsFilePattern |
protected File |
workingDirectory |
Constructor and Description |
---|
AntConfig(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Modifier and Type | Method and Description |
---|---|
protected String |
getAntExecutableName() |
protected String |
getAntExecutablePath(String homePath) |
List<String> |
getCommandline() |
Map<String,String> |
getExtraEnvironment() |
String |
getFirstTarget() |
String |
getTestResultsFilePattern() |
File |
getWorkingDirectory() |
boolean |
isHasTests() |
public static final String CFG_BUILD_FILE
public static final String CFG_BUILDER_LABEL
protected static final String CFG_ENVIRONMENT_VARIABLES
protected static final String CFG_HAS_TESTS
public static final String CFG_JDK_LABEL
public static final String CFG_TARGETS
protected static final String CFG_TEST_RESULTS_FILE_PATTERN
public static final String ANT_CAPABILITY_PREFIX
protected static final String ANT_EXECUTABLE_NAME_UNIX
protected static final String ANT_EXECUTABLE_NAME_WINDOWS
protected final String builderLabel
protected final String builderPath
protected final String buildFile
protected final String environmentVariables
protected final boolean hasTests
protected final String jdkLabel
protected final String testResultsFilePattern
protected final File workingDirectory
public AntConfig(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.