Class AntTaskProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.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
  • Field Details

    • DEFAULT_TEST_RESULTS_DIRECTORY

      public static final String DEFAULT_TEST_RESULTS_DIRECTORY
    • target

      @NotNull protected @NotNull String target
    • buildFile

      @Nullable protected @Nullable String buildFile
    • environmentVariables

      @Nullable protected @Nullable String environmentVariables
    • jdk

      @Nullable protected @Nullable String jdk
    • executableLabel

      @Nullable protected @Nullable String executableLabel
    • hasTests

      protected boolean hasTests
    • testResultsDirectory

      @NotNull protected @NotNull String testResultsDirectory
    • workingSubdirectory

      @Nullable protected @Nullable String workingSubdirectory
  • Constructor Details

    • AntTaskProperties

      protected AntTaskProperties()
    • AntTaskProperties

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

    • getTarget

      @NotNull public @NotNull String getTarget()
    • getBuildFile

      @Nullable public @Nullable String getBuildFile()
    • getEnvironmentVariables

      @Nullable public @Nullable String getEnvironmentVariables()
    • getJdk

      @Nullable public @Nullable String getJdk()
    • getExecutableLabel

      @Nullable public @Nullable String getExecutableLabel()
    • isHasTests

      public boolean isHasTests()
    • getTestResultsDirectory

      @NotNull public @NotNull String getTestResultsDirectory()
    • getWorkingSubdirectory

      @Nullable public @Nullable 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(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