Class ScriptTaskProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.ScriptTaskProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties

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

    • ScriptTaskProperties

      public ScriptTaskProperties(String description, boolean enabled, @Nullable @Nullable ScriptTaskProperties.Interpreter interpreter, @Nullable @Nullable ScriptTaskProperties.Location location, @Nullable @Nullable String body, @Nullable @Nullable String path, @Nullable @Nullable String argument, @Nullable @Nullable String environmentVariables, @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

    • 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
    • getInterpreter

      public ScriptTaskProperties.Interpreter getInterpreter()
    • getLocation

      public ScriptTaskProperties.Location getLocation()
    • getBody

      @Nullable public @Nullable String getBody()
    • getPath

      @Nullable public @Nullable String getPath()
    • getArgument

      @Nullable public @Nullable String getArgument()
    • getEnvironmentVariables

      @Nullable public @Nullable String getEnvironmentVariables()
    • getWorkingSubdirectory

      @Nullable public @Nullable String getWorkingSubdirectory()
    • validate

      public void validate() throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
      Overrides:
      validate in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • 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