Klasse InvalidActionClosureException

Alle implementierten Schnittstellen:
Serializable

public class InvalidActionClosureException extends GradleException
Thrown when a Closure is given as an Action implementation, but has the wrong signature.
Siehe auch:
  • Konstruktordetails

    • InvalidActionClosureException

      public InvalidActionClosureException(Closure<?> closure, Object argument)
  • Methodendetails

    • getClosure

      public Closure<?> getClosure()
      The closure being used as an action.
      Gibt zurück:
      The closure being used as an action.
    • getArgument

      public Object getArgument()
      The argument the action was executed with.
      Gibt zurück:
      The argument the action was executed with.