Package org.gradle.workers

# Class WorkParameters.None

java.lang.Object
org.gradle.workers.WorkParameters.None

All Implemented Interfaces:
  `WorkParameters`

Enclosing interface:
  `WorkParameters`

public static final class WorkParameters.None extends Object implements WorkParameters
Used for work actions without parameters.

When `WorkParameters.None` is used as parameters, calling `WorkAction.getParameters()` returns the `singleton`.

Since:
  5.6

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface org.gradle.workers.WorkParameters

  `WorkParameters.None`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final WorkParameters.None`
  `INSTANCE`
  Singleton instance of `WorkParameters.None`.

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### INSTANCE

    @Incubating public static final WorkParameters.None INSTANCE
    Singleton instance of `WorkParameters.None`.
    Since:
      9.6.0