Class BaseNodeTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.BaseNodeTaskProperties
-
- All Implemented Interfaces:
EntityProperties
- Direct Known Subclasses:
BowerTaskProperties,GruntTaskProperties,GulpTaskProperties,MochaRunnerTaskProperties,NodeTaskProperties,NodeunitTaskProperties,NpmTaskProperties
public abstract class BaseNodeTaskProperties extends TaskProperties
-
-
Constructor Summary
Constructors Constructor Description BaseNodeTaskProperties()BaseNodeTaskProperties(@Nullable String description, boolean enabled, @NotNull String nodeExecutable, @Nullable String environmentVariables, @Nullable String workingSubdirectory, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetEnvironmentVariables()@NotNull StringgetNodeExecutable()protected abstract ValidationContextgetValidationContext()@Nullable StringgetWorkingSubdirectory()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getAtlassianPlugin, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Constructor Detail
-
BaseNodeTaskProperties
public BaseNodeTaskProperties()
-
BaseNodeTaskProperties
public BaseNodeTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull String nodeExecutable, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getValidationContext
protected abstract ValidationContext getValidationContext()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
getNodeExecutable
@NotNull public @NotNull String getNodeExecutable()
-
getEnvironmentVariables
@Nullable public @Nullable String getEnvironmentVariables()
-
getWorkingSubdirectory
@Nullable public @Nullable String getWorkingSubdirectory()
-
-