public class CommandTask extends Task<CommandTask,CommandTaskProperties>
conditions, description, requirements, taskEnabled
Constructor and Description |
---|
CommandTask() |
Modifier and Type | Method and Description |
---|---|
CommandTask |
argument(@NotNull String argument)
Sets command line argument to be passed when command is executed.
|
protected @NotNull CommandTaskProperties |
build() |
CommandTask |
environmentVariables(@NotNull String environmentVariables)
Sets environment variables to be set when command is executed.
|
boolean |
equals(Object o) |
CommandTask |
executable(@NotNull String executable)
Sets label (not a path) of command to be executed.
|
int |
hashCode() |
CommandTask |
workingSubdirectory(@NotNull String workingSubdirectory)
Sets a directory the command should be executed in.
|
conditions, description, enabled, requirements, toString
public CommandTask executable(@NotNull @NotNull String executable)
public CommandTask argument(@NotNull @NotNull String argument)
public CommandTask environmentVariables(@NotNull @NotNull String environmentVariables)
public CommandTask workingSubdirectory(@NotNull @NotNull String workingSubdirectory)
@NotNull protected @NotNull CommandTaskProperties build()
build
in class Task<CommandTask,CommandTaskProperties>
public boolean equals(Object o)
equals
in class Task<CommandTask,CommandTaskProperties>
public int hashCode()
hashCode
in class Task<CommandTask,CommandTaskProperties>
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.