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