Class NodeTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.BaseNodeTaskProperties
-
- com.atlassian.bamboo.specs.model.task.NodeTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class NodeTaskProperties extends BaseNodeTaskProperties
-
-
Field Summary
Fields Modifier and Type Field Description static ValidationContextVALIDATION_CONTEXT
-
Constructor Summary
Constructors Modifier Constructor Description protectedNodeTaskProperties()NodeTaskProperties(@Nullable String description, boolean enabled, @NotNull String nodeExecutable, @Nullable String environmentVariables, @Nullable String workingSubdirectory, @NotNull String script, @Nullable String arguments, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetArguments()@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@NotNull StringgetScript()protected ValidationContextgetValidationContext()inthashCode()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
-
NodeTaskProperties
protected NodeTaskProperties()
-
NodeTaskProperties
public NodeTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull String nodeExecutable, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull String script, @Nullable @Nullable String arguments, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull 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(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
-
getScript
@NotNull public @NotNull String getScript()
-
getArguments
@Nullable public @Nullable String getArguments()
-
-