Class BaseNodeTask<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties>
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<B,P>
- Type Parameters:
B- type of taskP- type of properties generated by the task
- Direct Known Subclasses:
BowerTask,GruntTask,GulpTask,MochaRunnerTask,NodeTask,NodeunitTask,NpmTask
public abstract class BaseNodeTask<B extends BaseNodeTask<B,P>,P extends BaseNodeTaskProperties>
extends Task<B,P>
Base class for Node.js related tasks.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable Stringprotected @NotNull Stringprotected @Nullable StringFields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenvironmentVariables(@Nullable String environmentVariables) Sets environment variables for this task.booleaninthashCode()nodeExecutable(@NotNull String nodeExecutable) Sets which Node.js executable to use.workingSubdirectory(@Nullable 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
-
Field Details
-
nodeExecutable
-
environmentVariables
-
workingSubdirectory
-
-
Constructor Details
-
BaseNodeTask
public BaseNodeTask()
-
-
Method Details
-
nodeExecutable
Sets which Node.js executable to use. -
environmentVariables
Sets environment variables for this task. -
workingSubdirectory
Sets the working subdirectory for this task. -
equals
- Overrides:
equalsin classTask<B extends BaseNodeTask<B,P>, P extends BaseNodeTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCodein classTask<B extends BaseNodeTask<B,P>, P extends BaseNodeTaskProperties>
-