@Immutable public final class CommandTaskProperties extends TaskProperties
Constructor and Description |
---|
CommandTaskProperties(String description,
boolean enabled,
@NotNull String executable,
@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 |
getEnvironmentVariables() |
@NotNull String |
getExecutable() |
@Nullable String |
getWorkingSubdirectory() |
int |
hashCode() |
void |
validate() |
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
public CommandTaskProperties(String description, boolean enabled, @NotNull @NotNull String executable, @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
@NotNull public @NotNull String getExecutable()
@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.