@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,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
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, getWorkingSubdirectory
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
public 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, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
PropertiesValidationException
public void validate()
validate
in interface EntityProperties
validate
in class BaseNodeTaskProperties
public boolean equals(Object o)
equals
in class BaseNodeTaskProperties
public int hashCode()
hashCode
in class BaseNodeTaskProperties
@NotNull public AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class TaskProperties
protected ValidationContext getValidationContext()
getValidationContext
in class BaseNodeTaskProperties
@NotNull public String getCommand()
public boolean isUseIsolatedCache()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.