public class GradleTask extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GradleTask.Builder
A builder for
GradleTask . |
static class |
GradleTask.Invocation
An invocation of a method that customizes a task.
|
Modifier | Constructor and Description |
---|---|
protected |
GradleTask(GradleTask.Builder builder) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Return the attributes that should be set for this task.
|
List<GradleTask.Invocation> |
getInvocations()
Return the
invocations of this task. |
String |
getName()
Return the name of the task.
|
Map<String,GradleTask> |
getNested()
Return nested
tasks . |
String |
getType()
Return the type that this task is associated with or
null if this task has
no type. |
protected GradleTask(GradleTask.Builder builder)
public String getName()
public String getType()
null
if this task has
no type.null
public Map<String,String> getAttributes()
public List<GradleTask.Invocation> getInvocations()
invocations
of this task.public Map<String,GradleTask> getNested()
tasks
.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.