For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

OperationDescriptor

Describes an operation for which an event has occurred.

You can use equals() to determine whether 2 different descriptors refer to the same operation.

The subtypes of this interface define specific types of operations, such as task execution.

Since

2.4

Inheritors

Functions

Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human consumable display name for the operation.
Link copied to clipboard
abstract fun getName(): String
Returns the name of the operation.
Link copied to clipboard
@Nullable
abstract fun getParent(): @Nullable OperationDescriptor
Returns the parent operation, if any.