Class GulpTask
- 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<GulpTask,GulpTaskProperties>
-
- com.atlassian.bamboo.specs.builders.task.GulpTask
-
public class GulpTask extends BaseNodeTask<GulpTask,GulpTaskProperties>
Represents Bamboo task which executes Gulp tasks.- See Also:
- gulpjs.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_GULP_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 GulpTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull GulpTaskPropertiesbuild()booleanequals(java.lang.Object o)GulpTaskgulpExecutable(@NotNull java.lang.String gulpExecutable)Specify path to the Gulp executable for this task.GulpTaskgulpfile(@Nullable java.lang.String gulpfile)Specify path to the gulpfile, relative to the build working directory.inthashCode()GulpTasktask(@Nullable java.lang.String task)Gulp 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
-
gulpExecutable
public GulpTask gulpExecutable(@NotNull @NotNull java.lang.String gulpExecutable)
Specify path to the Gulp executable for this task. Path must be relative to the working directory.Example:
node_modules/gulp/bin/gulp.js
-
task
public GulpTask task(@Nullable @Nullable java.lang.String task)
Gulp task to execute. If not specified, the 'default' task will be executed. Multiple tasks can be specified separated by a space.
-
gulpfile
public GulpTask gulpfile(@Nullable @Nullable java.lang.String gulpfile)
Specify path to the gulpfile, relative to the build working directory. If empty, the default gulpfile will be used. Only supported for Gulp 3.3.2 or newer.
-
build
@NotNull protected @NotNull GulpTaskProperties build()
- Specified by:
buildin classTask<GulpTask,GulpTaskProperties>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBaseNodeTask<GulpTask,GulpTaskProperties>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseNodeTask<GulpTask,GulpTaskProperties>
-
-