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(java.lang.String description, boolean enabled, @Nullable ScriptTaskProperties.Interpreter interpreter, @Nullable ScriptTaskProperties.Location location, @Nullable java.lang.String body, @Nullable java.lang.String path, @Nullable java.lang.String argument, @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 Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable java.lang.StringgetArgument()@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable java.lang.StringgetBody()@Nullable java.lang.StringgetEnvironmentVariables()ScriptTaskProperties.InterpretergetInterpreter()ScriptTaskProperties.LocationgetLocation()@Nullable java.lang.StringgetPath()@Nullable java.lang.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(java.lang.String description, boolean enabled, @Nullable @Nullable ScriptTaskProperties.Interpreter interpreter, @Nullable @Nullable ScriptTaskProperties.Location location, @Nullable @Nullable java.lang.String body, @Nullable @Nullable java.lang.String path, @Nullable @Nullable java.lang.String argument, @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
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
getInterpreter
public ScriptTaskProperties.Interpreter getInterpreter()
-
getLocation
public ScriptTaskProperties.Location getLocation()
-
getBody
@Nullable public @Nullable java.lang.String getBody()
-
getPath
@Nullable public @Nullable java.lang.String getPath()
-
getArgument
@Nullable public @Nullable java.lang.String getArgument()
-
getEnvironmentVariables
@Nullable public @Nullable java.lang.String getEnvironmentVariables()
-
getWorkingSubdirectory
@Nullable public @Nullable java.lang.String getWorkingSubdirectory()
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties- Throws:
PropertiesValidationException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
-