Class MavenTaskProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.MavenTaskProperties
- All Implemented Interfaces:
EntityProperties
-
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<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull 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<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException - Throws:
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
- Specified by:
getAtlassianPluginin classTaskProperties
-
equals
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()- Overrides:
hashCodein classTaskProperties
-
validate
public void validate()- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties
-