Class AntTaskProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties

    @Immutable
    public final class AntTaskProperties
    extends com.atlassian.bamboo.specs.api.model.task.TaskProperties
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AntTaskProperties()  
        AntTaskProperties​(@Nullable java.lang.String description, boolean enabled, @NotNull java.lang.String target, @Nullable java.lang.String buildFile, @Nullable java.lang.String environmentVariables, @Nullable java.lang.String jdk, @NotNull java.lang.String executableLabel, boolean hasTests, @Nullable java.lang.String testResultsDirectory, @Nullable java.lang.String workingSubdirectory, @NotNull java.util.List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull java.util.List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions)  
    • Field Detail

      • DEFAULT_TEST_RESULTS_DIRECTORY

        public static final java.lang.String DEFAULT_TEST_RESULTS_DIRECTORY
      • target

        @NotNull
        protected @NotNull java.lang.String target
      • buildFile

        @Nullable
        protected @Nullable java.lang.String buildFile
      • 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

        @NotNull
        protected @NotNull java.lang.String testResultsDirectory
      • workingSubdirectory

        @Nullable
        protected @Nullable java.lang.String workingSubdirectory
    • Constructor Detail

      • AntTaskProperties

        protected AntTaskProperties()
      • AntTaskProperties

        public AntTaskProperties​(@Nullable
                                 @Nullable java.lang.String description,
                                 boolean enabled,
                                 @NotNull
                                 @NotNull java.lang.String target,
                                 @Nullable
                                 @Nullable java.lang.String buildFile,
                                 @Nullable
                                 @Nullable java.lang.String environmentVariables,
                                 @Nullable
                                 @Nullable java.lang.String jdk,
                                 @NotNull
                                 @NotNull java.lang.String executableLabel,
                                 boolean hasTests,
                                 @Nullable
                                 @Nullable java.lang.String testResultsDirectory,
                                 @Nullable
                                 @Nullable java.lang.String workingSubdirectory,
                                 @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

      • getTarget

        @NotNull
        public @NotNull java.lang.String getTarget()
      • getBuildFile

        @Nullable
        public @Nullable java.lang.String getBuildFile()
      • 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

        @NotNull
        public @NotNull java.lang.String getTestResultsDirectory()
      • getWorkingSubdirectory

        @Nullable
        public @Nullable java.lang.String getWorkingSubdirectory()
      • 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
      • 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
      • 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