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