Class BaseNodeTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.BaseNodeTaskProperties
-
- All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties
- Direct Known Subclasses:
BowerTaskProperties,GruntTaskProperties,GulpTaskProperties,MochaRunnerTaskProperties,NodeTaskProperties,NodeunitTaskProperties,NpmTaskProperties
public abstract class BaseNodeTaskProperties extends com.atlassian.bamboo.specs.api.model.task.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<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull java.util.List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.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 com.atlassian.bamboo.specs.api.validators.common.ValidationContextgetValidationContext()@Nullable java.lang.StringgetWorkingSubdirectory()inthashCode()voidvalidate()
-
-
-
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<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull @NotNull java.util.List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException- Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
-
Method Detail
-
getValidationContext
protected abstract com.atlassian.bamboo.specs.api.validators.common.ValidationContext getValidationContext()
-
validate
public void validate()
- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
getNodeExecutable
@NotNull public @NotNull java.lang.String getNodeExecutable()
-
getEnvironmentVariables
@Nullable public @Nullable java.lang.String getEnvironmentVariables()
-
getWorkingSubdirectory
@Nullable public @Nullable java.lang.String getWorkingSubdirectory()
-
-