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 String
protected @Nullable String
protected @NotNull String
protected boolean
protected @Nullable String
protected @Nullable String
protected MavenTask.TestDirectoryOption
protected @Nullable String
protected boolean
protected int
protected @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 String
getGoal()
@Nullable String
getJdk()
@Nullable String
@Nullable String
@org.jetbrains.annotations.NotNull int
@Nullable String
int
hashCode()
boolean
boolean
void
validate()
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:
getAtlassianPlugin
in classTaskProperties
-
equals
- 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
-