WorkResult (Gradle API 9.1.0)
Description: declaration: package: org.gradle.api.tasks, interface: WorkResult

Package org.gradle.api.tasks

# Interface WorkResult

public interface WorkResult
Provides information about some work which was performed.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `getDidWork()`
  `default WorkResult`
  `or(WorkResult other)`
  Returns this result if it did work, otherwise returns the result given as a parameter.

- ## Method Details

  - ### getDidWork

    boolean getDidWork()

  - ### or

    default WorkResult or(WorkResult other)
    Returns this result if it did work, otherwise returns the result given as a parameter.
    Since:
      6.0