Class Invocation

java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.Invocation
Direct Known Subclasses:
GradleTask.Invocation

public class Invocation extends Object
An invocation of a method.
Author:
Moritz Halbritter, Stephane Nicoll
  • Constructor Details

    • Invocation

      public Invocation(String target, List<String> arguments)
      Creates a new instance.
      Parameters:
      target - the target
      arguments - the arguments
  • Method Details

    • getTarget

      public String getTarget()
      Return the name of the method.
      Returns:
      the method name
    • getArguments

      public List<String> getArguments()
      Return the arguments (can be empty).
      Returns:
      the method arguments