# WorkParameters

interface WorkParameters(source)

Marker interface for parameter objects to WorkActions.

Parameter types should be interfaces, only declaring getters for org.gradle.api.provider.Property-like objects. Example:

    public interface MyParameters extends WorkParameters {
        Property<String> getStringParameter();
        ConfigurableFileCollection getFiles();
    }

Content copied to clipboard

#### Since

5.6

#### Inheritors

None

## Types

None
Link copied to clipboard
class None : NoneParameters, WorkParameters
Used for work actions without parameters.