@Immutable public final class MavenTaskProperties extends TaskProperties
Modifier and Type | Field and Description |
---|---|
protected String |
environmentVariables |
protected String |
executableLabel |
protected String |
goal |
protected boolean |
hasTests |
protected String |
jdk |
protected String |
projectFile |
protected MavenTask.TestDirectoryOption |
testDirectoryOption |
protected String |
testResultsDirectory |
protected boolean |
useMavenReturnCode |
protected int |
version |
protected String |
workingSubdirectory |
Constructor and Description |
---|
MavenTaskProperties(String description,
boolean enabled,
String goal,
String projectFile,
String environmentVariables,
String jdk,
String executableLabel,
boolean hasTests,
MavenTask.TestDirectoryOption testDirectoryOption,
String testResultsDirectory,
String workingSubdirectory,
boolean useMavenReturnCode,
int version,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AtlassianModuleProperties |
getAtlassianPlugin() |
String |
getEnvironmentVariables() |
String |
getExecutableLabel() |
String |
getGoal() |
String |
getJdk() |
String |
getProjectFile() |
MavenTask.TestDirectoryOption |
getTestDirectoryOption() |
String |
getTestResultsDirectory() |
int |
getVersion() |
String |
getWorkingSubdirectory() |
int |
hashCode() |
boolean |
isHasTests() |
boolean |
isUseMavenReturnCode() |
void |
validate() |
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
@NotNull protected String goal
@Nullable protected String projectFile
@Nullable protected String environmentVariables
@Nullable protected String jdk
@Nullable protected String executableLabel
protected boolean hasTests
@Nullable protected MavenTask.TestDirectoryOption testDirectoryOption
@Nullable protected String testResultsDirectory
@Nullable protected String workingSubdirectory
protected boolean useMavenReturnCode
protected int version
public MavenTaskProperties(@Nullable String description, boolean enabled, @NotNull String goal, @Nullable String projectFile, @Nullable String environmentVariables, @Nullable String jdk, @NotNull String executableLabel, boolean hasTests, @Nullable MavenTask.TestDirectoryOption testDirectoryOption, @Nullable String testResultsDirectory, @Nullable String workingSubdirectory, boolean useMavenReturnCode, int version, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
PropertiesValidationException
@NotNull public String getGoal()
@Nullable public String getProjectFile()
@Nullable public String getEnvironmentVariables()
@Nullable public String getJdk()
@Nullable public String getExecutableLabel()
public boolean isHasTests()
@NotNull public MavenTask.TestDirectoryOption getTestDirectoryOption()
@Nullable public String getTestResultsDirectory()
@Nullable public String getWorkingSubdirectory()
public boolean isUseMavenReturnCode()
@NotNull public int getVersion()
@NotNull public AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class TaskProperties
public boolean equals(Object o)
equals
in class TaskProperties
public int hashCode()
hashCode
in class TaskProperties
public void validate()
validate
in interface EntityProperties
validate
in class TaskProperties
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.