java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.GradleTask

public class GradleTask extends Object
A customization for a Gradle task.
Author:
Stephane Nicoll
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Return the name of the task.
      Returns:
      the task name
    • getType

      public String getType()
      Return the type that this task is associated with or null if this task has no type.
      Returns:
      the associated task type or null
    • getAttributes

      public List<GradleTask.Attribute> getAttributes()
      Return the attributes that should be configured for this task.
      Returns:
      task attributes
    • getInvocations

      public List<GradleTask.Invocation> getInvocations()
      Return the invocations of this task.
      Returns:
      task invocations
    • getNested

      public Map<String,GradleTask> getNested()
      Return nested tasks.
      Returns:
      nested tasks