@Immutable public final class ScriptTaskProperties extends TaskProperties
Modifier and Type | Class and Description |
---|---|
static class |
ScriptTaskProperties.Interpreter |
static class |
ScriptTaskProperties.Location |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@Nullable String |
getArgument() |
@NotNull AtlassianModuleProperties |
getAtlassianPlugin() |
@Nullable String |
getBody() |
@Nullable String |
getEnvironmentVariables() |
ScriptTaskProperties.Interpreter |
getInterpreter() |
ScriptTaskProperties.Location |
getLocation() |
@Nullable String |
getPath() |
@Nullable String |
getWorkingSubdirectory() |
int |
hashCode() |
void |
validate() |
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
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
PropertiesValidationException
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class TaskProperties
public ScriptTaskProperties.Interpreter getInterpreter()
public ScriptTaskProperties.Location getLocation()
@Nullable public @Nullable String getBody()
@Nullable public @Nullable String getPath()
@Nullable public @Nullable String getArgument()
@Nullable public @Nullable String getEnvironmentVariables()
@Nullable public @Nullable String getWorkingSubdirectory()
public void validate() throws PropertiesValidationException
validate
in interface EntityProperties
validate
in class TaskProperties
PropertiesValidationException
public boolean equals(Object o)
equals
in class TaskProperties
public int hashCode()
hashCode
in class TaskProperties
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.