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
Modifier and TypeFieldDescriptionprotected @Nullable String
protected @NotNull String
protected @Nullable String
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentVariables
(@Nullable String environmentVariables) Sets environment variables for this task.boolean
int
hashCode()
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:
equals
in classTask<B extends BaseNodeTask<B,
P>, P extends BaseNodeTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTask<B extends BaseNodeTask<B,
P>, P extends BaseNodeTaskProperties>
-