Interface WorkParameters

All Known Subinterfaces:
PrefixHeaderFileGenerateTask.PrefixHeaderFileParameters
All Known Implementing Classes:
WorkParameters.None

public interface WorkParameters
Marker interface for parameter objects to WorkActions.

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Used for work actions without parameters.