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 java.lang.String description, boolean enabled, @NotNull java.lang.String nodeExecutable, @Nullable java.lang.String environmentVariables, @Nullable java.lang.String workingSubdirectory, @NotNull java.util.List<RequirementProperties> requirements, @NotNull java.util.List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable java.lang.StringgetEnvironmentVariables()@NotNull java.lang.StringgetNodeExecutable()protected abstract ValidationContextgetValidationContext()@Nullable java.lang.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 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.util.List<RequirementProperties> requirements, @NotNull @NotNull java.util.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(java.lang.Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
getNodeExecutable
@NotNull public @NotNull java.lang.String getNodeExecutable()
-
getEnvironmentVariables
@Nullable public @Nullable java.lang.String getEnvironmentVariables()
-
getWorkingSubdirectory
@Nullable public @Nullable java.lang.String getWorkingSubdirectory()
-
-