Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FlowParameters (0.12 sec)

  1. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt

        }
    
        private
        fun <P : FlowParameters, T : FlowAction<P>> parametersTypeOf(action: Class<T>): Class<P>? =
            isolationScheme.parameterTypeFor(action)
    }
    
    
    data class RegisteredFlowAction(
        val type: Class<out FlowAction<FlowParameters>>,
        val parameters: FlowParameters?
    )
    
    
    private
    class DefaultFlowScopeRegistration<P : FlowParameters> : FlowScope.Registration<P>
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy

                    }
                }
    
                class FlowActionInjection implements FlowAction<FlowParameters.None> {
    
                    private final $serviceType.name service
    
                    @Inject
                    FlowActionInjection($serviceType.name service) {}
    
                    void execute(FlowParameters.None parameters) {
                        println("(green)")
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/dataflow_actions.adoc

    - The parameters type is also a <<custom_gradle_types.adoc#custom_gradle_types,custom Gradle type>>.
    - The action implementation gets the parameters as an argument of the `execute` method.
    
    When the action requires no parameters, you can use link:{javadocPath}/org/gradle/api/flow/FlowParameters.None.html[FlowParameters.None] as the type of parameter.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowParametersInstantiator.kt

        services: ServiceRegistry
    ) {
        fun <P : FlowParameters> newInstance(parametersType: Class<P>, configure: (P) -> Unit): P {
            return instantiator.newInstance(parametersType).also {
                configure(it)
                validate(parametersType, it)
            }
        }
    
        private
        fun <P : FlowParameters> validate(type: Class<P>, parameters: P) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowScheduler.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.flow.services
    
    import org.gradle.api.file.ArchiveOperations
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.flow.FlowParameters
    import org.gradle.internal.instantiation.InstantiatorFactory
    import org.gradle.internal.service.DefaultServiceRegistry
    import org.gradle.internal.service.ServiceRegistry
    import org.gradle.internal.service.scopes.Scope
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top