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

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected @Nullable java.lang.String environmentVariables  
      protected @NotNull java.lang.String nodeExecutable  
      protected @Nullable java.lang.String workingSubdirectory  
      • Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task

        conditions, description, requirements, taskEnabled
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseNodeTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      B environmentVariables​(@Nullable java.lang.String environmentVariables)
      Sets environment variables for this task.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      B nodeExecutable​(@NotNull java.lang.String nodeExecutable)
      Sets which Node.js executable to use.
      B workingSubdirectory​(@Nullable java.lang.String workingSubdirectory)
      Sets the working subdirectory for this task.
      • Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task

        build, conditions, description, enabled, requirements, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • nodeExecutable

        @NotNull
        protected @NotNull java.lang.String nodeExecutable
      • environmentVariables

        @Nullable
        protected @Nullable java.lang.String environmentVariables
      • workingSubdirectory

        @Nullable
        protected @Nullable java.lang.String workingSubdirectory
    • Constructor Detail

      • BaseNodeTask

        public BaseNodeTask()
    • Method Detail

      • nodeExecutable

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

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

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

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