Class MavenTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.MavenTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class MavenTaskProperties extends TaskProperties
-
-
Field Summary
Fields Modifier and Type Field Description protected @Nullable java.lang.String
environmentVariables
protected @Nullable java.lang.String
executableLabel
protected @NotNull java.lang.String
goal
protected boolean
hasTests
protected @Nullable java.lang.String
jdk
protected @Nullable java.lang.String
projectFile
protected MavenTask.TestDirectoryOption
testDirectoryOption
protected @Nullable java.lang.String
testResultsDirectory
protected boolean
useMavenReturnCode
protected int
version
protected @Nullable java.lang.String
workingSubdirectory
-
Constructor Summary
Constructors Constructor Description MavenTaskProperties(@Nullable java.lang.String description, boolean enabled, @NotNull java.lang.String goal, @Nullable java.lang.String projectFile, @Nullable java.lang.String environmentVariables, @Nullable java.lang.String jdk, @NotNull java.lang.String executableLabel, boolean hasTests, MavenTask.TestDirectoryOption testDirectoryOption, @Nullable java.lang.String testResultsDirectory, @Nullable java.lang.String workingSubdirectory, boolean useMavenReturnCode, int version, @NotNull java.util.List<RequirementProperties> requirements, @NotNull java.util.List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NotNull AtlassianModuleProperties
getAtlassianPlugin()
@Nullable java.lang.String
getEnvironmentVariables()
@Nullable java.lang.String
getExecutableLabel()
@NotNull java.lang.String
getGoal()
@Nullable java.lang.String
getJdk()
@Nullable java.lang.String
getProjectFile()
MavenTask.TestDirectoryOption
getTestDirectoryOption()
@Nullable java.lang.String
getTestResultsDirectory()
@org.jetbrains.annotations.NotNull int
getVersion()
@Nullable java.lang.String
getWorkingSubdirectory()
int
hashCode()
boolean
isHasTests()
boolean
isUseMavenReturnCode()
void
validate()
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Field Detail
-
goal
@NotNull protected @NotNull java.lang.String goal
-
projectFile
@Nullable protected @Nullable java.lang.String projectFile
-
environmentVariables
@Nullable protected @Nullable java.lang.String environmentVariables
-
jdk
@Nullable protected @Nullable java.lang.String jdk
-
executableLabel
@Nullable protected @Nullable java.lang.String executableLabel
-
hasTests
protected boolean hasTests
-
testDirectoryOption
@Nullable protected MavenTask.TestDirectoryOption testDirectoryOption
-
testResultsDirectory
@Nullable protected @Nullable java.lang.String testResultsDirectory
-
workingSubdirectory
@Nullable protected @Nullable java.lang.String workingSubdirectory
-
useMavenReturnCode
protected boolean useMavenReturnCode
-
version
protected int version
-
-
Constructor Detail
-
MavenTaskProperties
public MavenTaskProperties(@Nullable @Nullable java.lang.String description, boolean enabled, @NotNull @NotNull java.lang.String goal, @Nullable @Nullable java.lang.String projectFile, @Nullable @Nullable java.lang.String environmentVariables, @Nullable @Nullable java.lang.String jdk, @NotNull @NotNull java.lang.String executableLabel, boolean hasTests, @Nullable MavenTask.TestDirectoryOption testDirectoryOption, @Nullable @Nullable java.lang.String testResultsDirectory, @Nullable @Nullable java.lang.String workingSubdirectory, boolean useMavenReturnCode, int version, @NotNull @NotNull java.util.List<RequirementProperties> requirements, @NotNull @NotNull java.util.List<? extends ConditionProperties> conditions) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
-
Method Detail
-
getGoal
@NotNull public @NotNull java.lang.String getGoal()
-
getProjectFile
@Nullable public @Nullable java.lang.String getProjectFile()
-
getEnvironmentVariables
@Nullable public @Nullable java.lang.String getEnvironmentVariables()
-
getJdk
@Nullable public @Nullable java.lang.String getJdk()
-
getExecutableLabel
@Nullable public @Nullable java.lang.String getExecutableLabel()
-
isHasTests
public boolean isHasTests()
-
getTestDirectoryOption
@NotNull public MavenTask.TestDirectoryOption getTestDirectoryOption()
-
getTestResultsDirectory
@Nullable public @Nullable java.lang.String getTestResultsDirectory()
-
getWorkingSubdirectory
@Nullable public @Nullable java.lang.String getWorkingSubdirectory()
-
isUseMavenReturnCode
public boolean isUseMavenReturnCode()
-
getVersion
@NotNull public @org.jetbrains.annotations.NotNull int getVersion()
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPlugin
in classTaskProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTaskProperties
-
validate
public void validate()
- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classTaskProperties
-
-