public class MavenTask extends Task<MavenTask,MavenTaskProperties>
Modifier and Type | Class and Description |
---|---|
static class |
MavenTask.TestDirectoryOption |
Modifier and Type | Field and Description |
---|---|
protected String |
environmentVariables |
protected String |
goal |
protected boolean |
hasTests |
protected String |
jdk |
protected String |
label |
static int |
MAVEN_V2 |
static int |
MAVEN_V3 |
protected String |
projectFile |
protected MavenTask.TestDirectoryOption |
testDirectoryOption |
protected String |
testResultsDirectory |
protected boolean |
useMavenReturnCode |
protected int |
version |
protected String |
workingSubdirectory |
conditions, description, requirements, taskEnabled
Constructor and Description |
---|
MavenTask() |
Modifier and Type | Method and Description |
---|---|
protected MavenTaskProperties |
build() |
MavenTask |
environmentVariables(String environmentVariables) |
boolean |
equals(Object o) |
MavenTask |
executableLabel(String label) |
MavenTask |
goal(String goal) |
int |
hashCode() |
MavenTask |
hasTests(boolean hasTests) |
MavenTask |
jdk(String jdk) |
MavenTask |
projectFile(String projectFile) |
MavenTask |
standardResultsPath() |
MavenTask |
testResultsPath(String testResultsDirectory) |
MavenTask |
useMavenReturnCode(boolean useMavenReturnCode) |
MavenTask |
version2() |
MavenTask |
version3() |
MavenTask |
workingSubdirectory(String workingSubdirectory) |
conditions, description, enabled, requirements, toString
public static final int MAVEN_V2
public static final int MAVEN_V3
@NotNull protected String goal
@Nullable protected String projectFile
@Nullable protected String environmentVariables
@Nullable protected String jdk
@Nullable protected String label
protected boolean hasTests
@Nullable protected MavenTask.TestDirectoryOption testDirectoryOption
@Nullable protected String testResultsDirectory
@Nullable protected String workingSubdirectory
protected boolean useMavenReturnCode
protected int version
public MavenTask hasTests(boolean hasTests)
public MavenTask standardResultsPath()
public MavenTask useMavenReturnCode(boolean useMavenReturnCode)
public MavenTask version2()
public MavenTask version3()
@NotNull protected MavenTaskProperties build()
build
in class Task<MavenTask,MavenTaskProperties>
public boolean equals(Object o)
equals
in class Task<MavenTask,MavenTaskProperties>
public int hashCode()
hashCode
in class Task<MavenTask,MavenTaskProperties>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.