Class GradleTask
java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.GradleTask
A customization for a Gradle task.
- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated, for removal: This API element is subject to removal in a future version.static classA builder forGradleTask.static classDeprecated, for removal: This API element is subject to removal in a future version.in favor ofInvocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the attributes that should be configured for this task.Return theinvocationsof this task.getName()Return the name of the task.Return nestedtasks.getType()Return the type that this task is associated with ornullif this task has no type.
-
Constructor Details
-
GradleTask
-
-
Method Details
-
getName
Return the name of the task.- Returns:
- the task name
-
getType
Return the type that this task is associated with ornullif this task has no type.- Returns:
- the associated task type or
null
-
getAttributes
Return the attributes that should be configured for this task.- Returns:
- task attributes
-
getInvocations
Return theinvocationsof this task.- Returns:
- task invocations
-
getNested
Return nestedtasks.- Returns:
- nested tasks
-
Attribute