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.StringenvironmentVariablesprotected @Nullable java.lang.StringexecutableLabelprotected @NotNull java.lang.Stringgoalprotected booleanhasTestsprotected @Nullable java.lang.Stringjdkprotected @Nullable java.lang.StringprojectFileprotected MavenTask.TestDirectoryOptiontestDirectoryOptionprotected @Nullable java.lang.StringtestResultsDirectoryprotected booleanuseMavenReturnCodeprotected intversionprotected @Nullable java.lang.StringworkingSubdirectory
-
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 booleanequals(java.lang.Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable java.lang.StringgetEnvironmentVariables()@Nullable java.lang.StringgetExecutableLabel()@NotNull java.lang.StringgetGoal()@Nullable java.lang.StringgetJdk()@Nullable java.lang.StringgetProjectFile()MavenTask.TestDirectoryOptiongetTestDirectoryOption()@Nullable java.lang.StringgetTestResultsDirectory()@org.jetbrains.annotations.NotNull intgetVersion()@Nullable java.lang.StringgetWorkingSubdirectory()inthashCode()booleanisHasTests()booleanisUseMavenReturnCode()voidvalidate()-
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:
getAtlassianPluginin classTaskProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties
-
-