Package org.gradle.api.flow
Interface FlowActionSpec<P extends FlowParameters>
- Type Parameters:
P- the parameters defined by the configureddataflow actiontype.
Allows configuring the parameters for a
dataflow action.- Since:
- 8.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the parameters defined by the configureddataflow action.voidparameters(Action<? super P> configureAction) Configures theparametersfor theflow action.
-
Method Details
-
getParameters
P getParameters()Returns the parameters defined by the configureddataflow action.When the action declares
FlowParameters.Noneas its parameters type, this returns theFlowParameters.Nonesingleton.- Returns:
- mutable parameters object, never null.
- Since:
- 8.1
-
parameters
Configures theparametersfor theflow action.The action is invoked even when the flow action declares
FlowParameters.Noneas its parameters type; in that case it receives theFlowParameters.Nonesingleton.- Since:
- 8.7
-