Class NodeTask
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<NodeTask,NodeTaskProperties>
com.atlassian.bamboo.specs.builders.task.NodeTask
Represents a generic task that executes a Node.js script.
Bamboo provides additional tasks for more specific Node.js tools, which are suggested to use instead of this task for
convenience. For example: NpmTask, GulpTask.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectoryFields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdditional command line arguments to pass to node when executing the script.protected @NotNull NodeTaskPropertiesbuild()booleaninthashCode()Script to execute with node (e.g.Methods inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectoryMethods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Constructor Details
-
NodeTask
public NodeTask()
-
-
Method Details
-
script
Script to execute with node (e.g. 'server.js', 'application.js'). -
arguments
Additional command line arguments to pass to node when executing the script. -
build
- Specified by:
buildin classTask<NodeTask,NodeTaskProperties>
-
equals
- Overrides:
equalsin classBaseNodeTask<NodeTask,NodeTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseNodeTask<NodeTask,NodeTaskProperties>
-