public final class RunConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RunConfig.ExecFlag |
Constructor and Description |
---|
RunConfig(Project project,
String action,
String displayName,
Set<RunConfig.ExecFlag> execFlags,
GradleCommandLine commandLine) |
RunConfig(Project project,
String action,
String displayName,
Set<RunConfig.ExecFlag> execFlags,
GradleCommandLine commandLine,
GradleExecConfiguration execConfig) |
Modifier and Type | Method and Description |
---|---|
String |
getActionName() |
GradleCommandLine |
getCommandLine() |
GradleExecConfiguration |
getExecConfig()
Selected executable configuration.
|
Set<RunConfig.ExecFlag> |
getExecFlags() |
Project |
getProject() |
String |
getTaskDisplayName() |
RunConfig |
withCommandLine(GradleCommandLine cmd) |
public RunConfig(Project project, String action, String displayName, Set<RunConfig.ExecFlag> execFlags, GradleCommandLine commandLine)
public RunConfig(Project project, String action, String displayName, Set<RunConfig.ExecFlag> execFlags, GradleCommandLine commandLine, GradleExecConfiguration execConfig)
public Project getProject()
public GradleCommandLine getCommandLine()
public RunConfig withCommandLine(GradleCommandLine cmd)
public Set<RunConfig.ExecFlag> getExecFlags()
public String getTaskDisplayName()
public String getActionName()
@CheckForNull public GradleExecConfiguration getExecConfig()
null
, as the default
configuration always exists. May be null
; in that case the active configuration
should be used.null
to use the active one.