Package org.gradle.workers
Interface WorkParameters
- All Known Implementing Classes:
WorkParameters.None
public interface WorkParameters
Marker interface for parameter objects to
WorkAction
s.
Parameter types should be interfaces, only declaring getters for Property
-like objects.
Example:
public interface MyParameters extends WorkParameters { Property<String> getStringParameter(); ConfigurableFileCollection getFiles(); }
- Since:
- 5.6
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Used for work actions without parameters.