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
-
public class GruntTask extends BaseNodeTask<GruntTask,GruntTaskProperties>
Represents Bamboo task which executes Grunt tasks.- See Also:
- gruntjs.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_GRUNT_CLI_EXECUTABLE-
Fields inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectory
-
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
-
Constructor Summary
Constructors Constructor Description GruntTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull GruntTaskPropertiesbuild()booleanequals(java.lang.Object o)GruntTaskgruntCliExecutable(@NotNull java.lang.String gruntCliExecutable)Specify path to the Grunt command line interface (grunt-cli) executable for this task.GruntTaskgruntfile(@Nullable java.lang.String gruntfile)Specify path to the gruntfile, relative to the build working directory.inthashCode()GruntTasktask(@Nullable java.lang.String task)Grunt task to execute.-
Methods inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectory
-
Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
-
-
-
Method Detail
-
gruntCliExecutable
public GruntTask gruntCliExecutable(@NotNull @NotNull java.lang.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 java.lang.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 java.lang.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:
buildin classTask<GruntTask,GruntTaskProperties>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBaseNodeTask<GruntTask,GruntTaskProperties>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseNodeTask<GruntTask,GruntTaskProperties>
-
-