Class ScriptTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.ScriptTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class ScriptTaskProperties extends TaskProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScriptTaskProperties.Interpreterstatic classScriptTaskProperties.Location
-
Constructor Summary
Constructors Constructor Description ScriptTaskProperties(String description, boolean enabled, @Nullable ScriptTaskProperties.Interpreter interpreter, @Nullable ScriptTaskProperties.Location location, @Nullable String body, @Nullable String path, @Nullable String argument, @Nullable String environmentVariables, @Nullable String workingSubdirectory, @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 StringgetArgument()@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable StringgetBody()@Nullable StringgetEnvironmentVariables()ScriptTaskProperties.InterpretergetInterpreter()ScriptTaskProperties.LocationgetLocation()@Nullable StringgetPath()@Nullable StringgetWorkingSubdirectory()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Constructor Detail
-
ScriptTaskProperties
public ScriptTaskProperties(String description, boolean enabled, @Nullable @Nullable ScriptTaskProperties.Interpreter interpreter, @Nullable @Nullable ScriptTaskProperties.Location location, @Nullable @Nullable String body, @Nullable @Nullable String path, @Nullable @Nullable String argument, @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
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
getInterpreter
public ScriptTaskProperties.Interpreter getInterpreter()
-
getLocation
public ScriptTaskProperties.Location getLocation()
-
getBody
@Nullable public @Nullable String getBody()
-
getPath
@Nullable public @Nullable String getPath()
-
getArgument
@Nullable public @Nullable String getArgument()
-
getEnvironmentVariables
@Nullable public @Nullable String getEnvironmentVariables()
-
getWorkingSubdirectory
@Nullable public @Nullable String getWorkingSubdirectory()
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties- Throws:
PropertiesValidationException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
-