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, workingSubdirectory
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdditional command line arguments to pass to node when executing the script.protected @NotNull NodeTaskProperties
build()
boolean
int
hashCode()
Script to execute with node (e.g.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
-
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:
build
in classTask<NodeTask,
NodeTaskProperties>
-
equals
- Overrides:
equals
in classBaseNodeTask<NodeTask,
NodeTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseNodeTask<NodeTask,
NodeTaskProperties>
-