public class NpmTask extends BaseNodeTask<NpmTask,NpmTaskProperties>
environmentVariables, nodeExecutable, workingSubdirectory
conditions, description, requirements, taskEnabled
Constructor and Description |
---|
NpmTask() |
Modifier and Type | Method and Description |
---|---|
protected NpmTaskProperties |
build() |
NpmTask |
command(String command)
Sets which command to execute, e.g.
|
boolean |
equals(Object o) |
int |
hashCode() |
NpmTask |
useIsolatedCache(boolean useIsolatedCache)
Sets whether the npm task should use isolated directory for caches.
|
environmentVariables, nodeExecutable, workingSubdirectory
conditions, description, enabled, requirements, toString
public NpmTask command(@NotNull String command)
install
.public NpmTask useIsolatedCache(boolean useIsolatedCache)
@NotNull protected NpmTaskProperties build()
build
in class Task<NpmTask,NpmTaskProperties>
public boolean equals(Object o)
equals
in class BaseNodeTask<NpmTask,NpmTaskProperties>
public int hashCode()
hashCode
in class BaseNodeTask<NpmTask,NpmTaskProperties>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.