Class GruntTask
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<GruntTask,GruntTaskProperties>
com.atlassian.bamboo.specs.builders.task.GruntTask
Represents Bamboo task which executes Grunt tasks.
- See Also:
-
Field Summary
FieldsFields inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectoryFields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull GruntTaskPropertiesbuild()booleangruntCliExecutable(@NotNull String gruntCliExecutable) Specify path to the Grunt command line interface (grunt-cli) executable for this task.Specify path to the gruntfile, relative to the build working directory.inthashCode()Grunt task to execute.Methods inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectoryMethods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Field Details
-
DEFAULT_GRUNT_CLI_EXECUTABLE
-
-
Constructor Details
-
GruntTask
public GruntTask()
-
-
Method Details
-
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
Grunt task to execute. If not specified, the 'default' task will be executed. Multiple tasks can be specified separated by a space. -
gruntfile
Specify path to the gruntfile, relative to the build working directory. If empty, the default gruntfile will be used. -
build
- Specified by:
buildin classTask<GruntTask,GruntTaskProperties>
-
equals
- Overrides:
equalsin classBaseNodeTask<GruntTask,GruntTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseNodeTask<GruntTask,GruntTaskProperties>
-