@Immutable public final class NpmTaskProperties extends BaseNodeTaskProperties
| Modifier and Type | Field and Description |
|---|---|
static ValidationContext |
VALIDATION_CONTEXT |
| Modifier | Constructor and Description |
|---|---|
protected |
NpmTaskProperties() |
|
NpmTaskProperties(String description,
boolean enabled,
String nodeExecutable,
String environmentVariables,
String workingSubdirectory,
String command,
boolean useIsolatedCache) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AtlassianModuleProperties |
getAtlassianPlugin() |
String |
getCommand() |
protected ValidationContext |
getValidationContext() |
int |
hashCode() |
boolean |
isUseIsolatedCache() |
void |
validate() |
getEnvironmentVariables, getNodeExecutable, getWorkingSubdirectoryapplicableTo, getDescription, isEnabled, toStringpublic static final ValidationContext VALIDATION_CONTEXT
protected NpmTaskProperties()
public NpmTaskProperties(@Nullable
String description,
boolean enabled,
@NotNull
String nodeExecutable,
@Nullable
String environmentVariables,
@Nullable
String workingSubdirectory,
@NotNull
String command,
boolean useIsolatedCache)
throws PropertiesValidationException
PropertiesValidationExceptionpublic void validate()
validate in interface EntityPropertiesvalidate in class BaseNodeTaskPropertiespublic boolean equals(Object o)
equals in class BaseNodeTaskPropertiespublic int hashCode()
hashCode in class BaseNodeTaskProperties@NotNull public AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin in class TaskPropertiesprotected ValidationContext getValidationContext()
getValidationContext in class BaseNodeTaskProperties@NotNull public String getCommand()
public boolean isUseIsolatedCache()
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.