Class MavenTaskProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.MavenTaskProperties
- All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties
@Immutable
public final class MavenTaskProperties
extends com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable Stringprotected @Nullable Stringprotected @NotNull Stringprotected booleanprotected @Nullable Stringprotected @Nullable Stringprotected MavenTask.TestDirectoryOptionprotected @Nullable Stringprotected booleanprotected intprotected @Nullable String -
Constructor Summary
ConstructorsConstructorDescriptionMavenTaskProperties(@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<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties@Nullable String@Nullable String@NotNull StringgetGoal()@Nullable StringgetJdk()@Nullable String@Nullable String@org.jetbrains.annotations.NotNull int@Nullable StringinthashCode()booleanbooleanvoidvalidate()Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
Field Details
-
goal
-
projectFile
-
environmentVariables
-
jdk
-
executableLabel
-
hasTests
protected boolean hasTests -
testDirectoryOption
-
testResultsDirectory
-
workingSubdirectory
-
useMavenReturnCode
protected boolean useMavenReturnCode -
version
protected int version
-
-
Constructor Details
-
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<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull @NotNull List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException - Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
-
Method Details
-
getGoal
-
getProjectFile
-
getEnvironmentVariables
-
getJdk
-
getExecutableLabel
-
isHasTests
public boolean isHasTests() -
getTestDirectoryOption
-
getTestResultsDirectory
-
getWorkingSubdirectory
-
isUseMavenReturnCode
public boolean isUseMavenReturnCode() -
getVersion
@NotNull public @org.jetbrains.annotations.NotNull int getVersion() -
getAtlassianPlugin
@NotNull public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()- Specified by:
getAtlassianPluginin classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
equals
- Overrides:
equalsin classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
validate
public void validate()- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-