Package org.gradle.api.flow
Schnittstelle FlowScope
@Incubating
@ServiceScope(org.gradle.internal.service.scopes.Scope.Build.class)
public interface FlowScope
Augments the cached work graph with
dataflow actions, anonymous, parameterized and
isolated pieces of work that are triggered solely based on the availability of their input parameters.- Seit:
- 8.1
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interfaceFlowScope.Registration<P extends FlowParameters>Represents a registereddataflow action. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<P extends FlowParameters>
FlowScope.Registration<P> always(Class<? extends FlowAction<P>> action, Action<? super FlowActionSpec<P>> configure) Registers adataflow actionthat's always part of the dataflow graph.
-
Methodendetails
-
always
<P extends FlowParameters> FlowScope.Registration<P> always(Class<? extends FlowAction<P>> action, Action<? super FlowActionSpec<P>> configure) Registers adataflow actionthat's always part of the dataflow graph.- Typparameter:
P- the parameters defined by the givendataflow actiontype.- Parameter:
action- thedataflow actiontype.configure- configuration for the givendataflow actionparameters.- Gibt zurück:
- a
FlowScope.Registrationobject representing the registered action.
-