Class NpmTask
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<NpmTask,NpmTaskProperties>
com.atlassian.bamboo.specs.builders.task.NpmTask
Represents task that executes an npm command.
- 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 TypeMethodDescriptionprotected @NotNull NpmTaskPropertiesbuild()Sets which command to execute, e.g.booleaninthashCode()useIsolatedCache(boolean useIsolatedCache) Sets whether the npm task should use isolated directory for caches.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
-
NpmTask
public NpmTask()
-
-
Method Details
-
command
Sets which command to execute, e.g.install. -
useIsolatedCache
Sets whether the npm task should use isolated directory for caches. Should be enabled when different incompatible versions of npm may be used on one Bamboo agent. Defaults to false. -
build
- Specified by:
buildin classTask<NpmTask,NpmTaskProperties>
-
equals
- Overrides:
equalsin classBaseNodeTask<NpmTask,NpmTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseNodeTask<NpmTask,NpmTaskProperties>
-