WorkParameters

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();
}

Since

5.6

Inheritors

Types

Link copied to clipboard
Used for work actions without parameters.