Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for implements (0.07 sec)

  1. platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy

            buildFile '''
                import org.gradle.api.flow.*
                import org.gradle.api.services.*
                import java.util.concurrent.atomic.AtomicInteger
    
                class FlowActionPlugin implements Plugin<Project> {
                    final FlowScope flowScope
                    final FlowProviders flowProviders
                    @Inject FlowActionPlugin(FlowScope flowScope, FlowProviders flowProviders) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

             given:
             def configurationCache = newConfigurationCacheFixture()
    
             buildFile("""
                import org.gradle.api.provider.*
    
                abstract class GreetValueSource implements ValueSource<String, ValueSourceParameters.None> {
                    String obtain() {
                        return "Hello!"
                    }
                }
    
                abstract class MyTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

            buildFile << """
                class Placeholder implements Serializable {
                    String value
    
                    private Object readResolve() {
                        return new OtherBean(prop: "[\$value]")
                    }
                }
    
                class OtherBean implements Serializable {
                    String prop
    
                    private Object writeReplace() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/OrElseProviderTest.groovy

            @Override
            ProviderInternal<String> wrapProviderWithProviderUnderTest(ProviderInternal<String> baseProvider) {
                return new OrElseProvider<String>(baseProvider, Providers.of("B"))
            }
        }
    
        static class OrElseProviderRightCircularChainEvaluationTest extends CircularChainEvaluationSpec<String> implements UsesStringProperty {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheWorkerApiIntegrationTest.groovy

    package org.gradle.internal.cc.impl
    
    import org.gradle.api.tasks.TasksWithInputsAndOutputs
    
    import javax.inject.Inject
    
    class ConfigurationCacheWorkerApiIntegrationTest extends AbstractConfigurationCacheIntegrationTest implements TasksWithInputsAndOutputs {
        def "task can wire input #type with fixed value to worker action parameter property"() {
            buildFile << """
                import ${Inject.name}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

        def "BuildOperationListener build service is instantiated only once per build"() {
            given:
            buildFile """
                abstract class ListenerService
                    implements $BuildService.name<${BuildServiceParameters.name}.None>, $BuildOperationListener.name {
    
                    public ListenerService() {
                        println('onInstantiated')
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/SerializableMockHelper.groovy

         * classloader, the proxy class executes the given action.
         */
        def <T> Action<T> serializable(Action<T> action, ClassLoader target) {
            String src = """
    class TestAction implements ${Action.class.name}, ${Serializable.class.name}
    {
        Object key
    
        void execute(Object target) {
            def action = ${SerializableMockHelper.class.name}.ACTIONS.remove(key)
            action.execute(target)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClass.groovy

    package org.gradle.test
    
    /**
     * This is a groovy class.
     */
    class GroovyClass extends A implements CombinedInterface, JavaInterface {
        /**
         * A groovy property.
         */
        CombinedInterface groovyProp
    
        /**
         * A read-only groovy property.
         */
        final String readOnlyGroovyProp
    
        /**
         * An array property.
         */
        def String[] arrayProp
    
        private def ignoreMe1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 915 bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/Bean.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot.impl
    
    class Bean implements Serializable {
        String prop
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 715 bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

        }
    
        static interface BuildWithSystemPropertyDefined {
    
            void setup(AbstractIntegrationSpec spec, String propertyKey)
    
            String propertyValue()
        }
    
        static class RootBuild implements BuildWithSystemPropertyDefined {
    
            @Override
            void setup(AbstractIntegrationSpec spec, String propertyKey) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top