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
Fields Modifier and Type Field Description protected @Nullable java.lang.StringenvironmentVariablesprotected @NotNull java.lang.StringnodeExecutableprotected @Nullable java.lang.StringworkingSubdirectory-
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
-
Constructor Summary
Constructors Constructor Description BaseNodeTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BenvironmentVariables(@Nullable java.lang.String environmentVariables)Sets environment variables for this task.booleanequals(java.lang.Object o)inthashCode()BnodeExecutable(@NotNull java.lang.String nodeExecutable)Sets which Node.js executable to use.BworkingSubdirectory(@Nullable java.lang.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
-
-
-
-
Method Detail
-
nodeExecutable
public B nodeExecutable(@NotNull @NotNull java.lang.String nodeExecutable)
Sets which Node.js executable to use.
-
environmentVariables
public B environmentVariables(@Nullable @Nullable java.lang.String environmentVariables)
Sets environment variables for this task.
-
workingSubdirectory
public B workingSubdirectory(@Nullable @Nullable java.lang.String workingSubdirectory)
Sets the working subdirectory for this task.
-
equals
public boolean equals(java.lang.Object o)
- 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>
-
-