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 StringenvironmentVariablesprotected @Nullable StringexecutableLabelprotected @NotNull Stringgoalprotected booleanhasTestsprotected @Nullable Stringjdkprotected @Nullable StringprojectFileprotected MavenTask.TestDirectoryOptiontestDirectoryOptionprotected @Nullable StringtestResultsDirectoryprotected booleanuseMavenReturnCodeprotected intversionprotected @Nullable StringworkingSubdirectory
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable StringgetEnvironmentVariables()@Nullable StringgetExecutableLabel()@NotNull StringgetGoal()@Nullable StringgetJdk()@Nullable StringgetProjectFile()MavenTask.TestDirectoryOptiongetTestDirectoryOption()@Nullable StringgetTestResultsDirectory()@org.jetbrains.annotations.NotNull intgetVersion()@Nullable 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 String goal
-
projectFile
@Nullable protected @Nullable String projectFile
-
environmentVariables
@Nullable protected @Nullable String environmentVariables
-
jdk
@Nullable protected @Nullable String jdk
-
executableLabel
@Nullable protected @Nullable String executableLabel
-
hasTests
protected boolean hasTests
-
testDirectoryOption
@Nullable protected MavenTask.TestDirectoryOption testDirectoryOption
-
testResultsDirectory
@Nullable protected @Nullable String testResultsDirectory
-
workingSubdirectory
@Nullable protected @Nullable String workingSubdirectory
-
useMavenReturnCode
protected boolean useMavenReturnCode
-
version
protected int version
-
-
Constructor Detail
-
MavenTaskProperties
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- Throws:
PropertiesValidationException
-
-
Method Detail
-
getGoal
@NotNull public @NotNull String getGoal()
-
getProjectFile
@Nullable public @Nullable String getProjectFile()
-
getEnvironmentVariables
@Nullable public @Nullable String getEnvironmentVariables()
-
getJdk
@Nullable public @Nullable String getJdk()
-
getExecutableLabel
@Nullable public @Nullable String getExecutableLabel()
-
isHasTests
public boolean isHasTests()
-
getTestDirectoryOption
@NotNull public MavenTask.TestDirectoryOption getTestDirectoryOption()
-
getTestResultsDirectory
@Nullable public @Nullable String getTestResultsDirectory()
-
getWorkingSubdirectory
@Nullable public @Nullable 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(Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties
-
-