Package org.gradle.api
Class InvalidActionClosureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.api.InvalidActionClosureException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe argument the action was executed with.Closure<?>
The closure being used as an action.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidActionClosureException
-
-
Method Details
-
getClosure
The closure being used as an action.- Returns:
- The closure being used as an action.
-
getArgument
The argument the action was executed with.- Returns:
- The argument the action was executed with.
-