Class BaseNodeTask<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties>

java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.task.Task<B,P>
com.atlassian.bamboo.specs.builders.task.BaseNodeTask<B,P>
Type Parameters:
B - type of task
P - type of properties generated by the task
Direct Known Subclasses:
BowerTask, GruntTask, GulpTask, MochaRunnerTask, NodeTask, NodeunitTask, NpmTask

public abstract class BaseNodeTask<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties> extends com.atlassian.bamboo.specs.api.builders.task.Task<B,P>
Base class for Node.js related tasks.
  • Field Details

    • nodeExecutable

      @NotNull protected @NotNull String nodeExecutable
    • environmentVariables

      @Nullable protected @Nullable String environmentVariables
    • workingSubdirectory

      @Nullable protected @Nullable String workingSubdirectory
  • Constructor Details

    • BaseNodeTask

      public BaseNodeTask()
  • Method Details

    • nodeExecutable

      public B nodeExecutable(@NotNull @NotNull String nodeExecutable)
      Sets which Node.js executable to use.
    • environmentVariables

      public B environmentVariables(@Nullable @Nullable String environmentVariables)
      Sets environment variables for this task.
    • workingSubdirectory

      public B workingSubdirectory(@Nullable @Nullable String workingSubdirectory)
      Sets the working subdirectory for this task.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.atlassian.bamboo.specs.api.builders.task.Task<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.atlassian.bamboo.specs.api.builders.task.Task<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties>