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

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 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 Task<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Task<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties>