Class 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 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
      • 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<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements,
                                   @NotNull
                                   @NotNull java.util.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 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()
      • 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 com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
        Specified by:
        getAtlassianPlugin in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      • validate

        public void validate()
        Specified by:
        validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
        Overrides:
        validate in class com.atlassian.bamboo.specs.api.model.task.TaskProperties