Class NpmTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.BaseNodeTaskProperties
-
- com.atlassian.bamboo.specs.model.task.NpmTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class NpmTaskProperties extends BaseNodeTaskProperties
-
-
Field Summary
Fields Modifier and Type Field Description static ValidationContextVALIDATION_CONTEXT
-
Constructor Summary
Constructors Modifier Constructor Description protectedNpmTaskProperties()NpmTaskProperties(@Nullable java.lang.String description, boolean enabled, @NotNull java.lang.String nodeExecutable, @Nullable java.lang.String environmentVariables, @Nullable java.lang.String workingSubdirectory, @NotNull java.lang.String command, boolean useIsolatedCache, @NotNull java.util.List<RequirementProperties> requirements, @NotNull java.util.List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@NotNull java.lang.StringgetCommand()protected ValidationContextgetValidationContext()inthashCode()booleanisUseIsolatedCache()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.model.task.BaseNodeTaskProperties
getEnvironmentVariables, getNodeExecutable, getWorkingSubdirectory
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Field Detail
-
VALIDATION_CONTEXT
public static final ValidationContext VALIDATION_CONTEXT
-
-
Constructor Detail
-
NpmTaskProperties
protected NpmTaskProperties()
-
NpmTaskProperties
public NpmTaskProperties(@Nullable @Nullable java.lang.String description, boolean enabled, @NotNull @NotNull java.lang.String nodeExecutable, @Nullable @Nullable java.lang.String environmentVariables, @Nullable @Nullable java.lang.String workingSubdirectory, @NotNull @NotNull java.lang.String command, boolean useIsolatedCache, @NotNull @NotNull java.util.List<RequirementProperties> requirements, @NotNull @NotNull java.util.List<? extends ConditionProperties> conditions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classBaseNodeTaskProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBaseNodeTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseNodeTaskProperties
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
getValidationContext
protected ValidationContext getValidationContext()
- Specified by:
getValidationContextin classBaseNodeTaskProperties
-
getCommand
@NotNull public @NotNull java.lang.String getCommand()
-
isUseIsolatedCache
public boolean isUseIsolatedCache()
-
-