Class GruntTask


public class GruntTask extends BaseNodeTask<GruntTask,GruntTaskProperties>
Represents Bamboo task which executes Grunt tasks.
See Also:
  • Field Details

    • DEFAULT_GRUNT_CLI_EXECUTABLE

      public static final String DEFAULT_GRUNT_CLI_EXECUTABLE
  • Constructor Details

    • GruntTask

      public GruntTask()
  • Method Details

    • gruntCliExecutable

      public GruntTask gruntCliExecutable(@NotNull @NotNull String gruntCliExecutable)
      Specify path to the Grunt command line interface (grunt-cli) executable for this task. Path must be relative to the working directory.

      Example: node_modules/grunt-cli/bin/grunt

    • task

      public GruntTask task(@Nullable @Nullable String task)
      Grunt task to execute. If not specified, the 'default' task will be executed. Multiple tasks can be specified separated by a space.
    • gruntfile

      public GruntTask gruntfile(@Nullable @Nullable String gruntfile)
      Specify path to the gruntfile, relative to the build working directory. If empty, the default gruntfile will be used.
    • build

      @NotNull protected @NotNull GruntTaskProperties build()
      Specified by:
      build in class Task<GruntTask,GruntTaskProperties>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseNodeTask<GruntTask,GruntTaskProperties>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseNodeTask<GruntTask,GruntTaskProperties>