Class BaseNodeTaskProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.BaseNodeTaskProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties
Direct Known Subclasses:
BowerTaskProperties, GruntTaskProperties, GulpTaskProperties, MochaRunnerTaskProperties, NodeTaskProperties, NodeunitTaskProperties, NpmTaskProperties

public abstract class BaseNodeTaskProperties extends com.atlassian.bamboo.specs.api.model.task.TaskProperties
  • Constructor Details

    • BaseNodeTaskProperties

      public BaseNodeTaskProperties()
    • BaseNodeTaskProperties

      public BaseNodeTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull String nodeExecutable, @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

    • getValidationContext

      protected abstract com.atlassian.bamboo.specs.api.validators.common.ValidationContext getValidationContext()
    • 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
    • getNodeExecutable

      @NotNull public @NotNull String getNodeExecutable()
    • getEnvironmentVariables

      @Nullable public @Nullable String getEnvironmentVariables()
    • getWorkingSubdirectory

      @Nullable public @Nullable String getWorkingSubdirectory()