Class ScriptTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.ScriptTaskProperties
-
- All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties
@Immutable public final class ScriptTaskProperties extends com.atlassian.bamboo.specs.api.model.task.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<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 Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable java.lang.StringgetArgument()@NotNull com.atlassian.bamboo.specs.api.model.AtlassianModulePropertiesgetAtlassianPlugin()@Nullable java.lang.StringgetBody()@Nullable java.lang.StringgetEnvironmentVariables()ScriptTaskProperties.InterpretergetInterpreter()ScriptTaskProperties.LocationgetLocation()@Nullable java.lang.StringgetPath()@Nullable java.lang.StringgetWorkingSubdirectory()inthashCode()voidvalidate()
-
-
-
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<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
-
getAtlassianPlugin
@NotNull public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
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 com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties- Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
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
-
-