Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getNested (0.45 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/BaseModel.groovy

        String getVeryDeepMessage()
    }
    
    interface ShallowChildModel extends BaseModel {
        String getShallowMessage()
    }
    
    interface SideModel extends BaseModel {
    }
    
    interface CompositeModel {
        BaseModel getNested()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:42:16 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixtureTest.groovy

            String output() { "output" }
        }
    
        static trait SimpleResult {
            String simpleResultMethod() { "simpleResultValue" }
        }
    
        static trait NestedResult {
            Nested getNested() { new Object().withTraits(Nested) }
        }
    
        static trait Nested {
            String getNestedValue() { "nestedValue" }
    
            String toString() { "Nested" }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

                    private final DefaultModel nested
                    DefaultCompositeModel(DefaultModel nested) { this.nested = nested }
                    BaseModel getNested() { nested }
                }
            """
        }
    
        def "supports model polymorphism"() {
            given:
            file("plugins/src/main/groovy/my/MyModelBuilder.groovy") << """
                package my
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CompositeDataReporter.java

        }
    
        @Override
        public void report(CrossVersionPerformanceResults results) {
            if (!testIds.add(results.getTestId())) {
                throw new IllegalArgumentException(String.format("Multiple performance test executions with id '%s' found.", results.getTestId()));
            }
            for (DataReporter<CrossVersionPerformanceResults> reporter : reporters) {
                reporter.report(results);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/java/toolchain-task/kotlin/build.gradle.kts

    import javax.inject.Inject;
    
    // tag::custom-toolchain-task-with-java[]
    abstract class CustomTaskUsingToolchains : DefaultTask() {
    
        @get:Nested
        abstract val launcher: Property<JavaLauncher> // <1>
    
        init {
            val toolchain = project.extensions.getByType<JavaPluginExtension>().toolchain // <2>
            val defaultLauncher = javaToolchainService.launcherFor(toolchain) // <3>
            launcher.convention(defaultLauncher) // <4>
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. docs/de/docs/history-design-future.md

    Ich habe mehrere Ideen in den beliebtesten Python-Editoren getestet: PyCharm, VS Code, Jedi-basierte Editoren.
    
    Laut der letzten <a href="https://www.jetbrains.com/research/python-developers-survey-2018/#development-tools" class="external-link" target="_blank">Python-Entwickler-Umfrage</a>, deckt das etwa 80 % der Benutzer ab.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyKotlinInterOpIntegrationTest.groovy

                import ${RegularFileProperty.name}
                import ${TaskAction.name}
                import ${Nested.name}
    
                abstract class ProducerTask: DefaultTask() {
                    @get:Nested
                    abstract val params: Params
    
                    @TaskAction
                    fun run() {
                        params.outFile.get().asFile.writeText("content")
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestSpec.java

     */
    
    package org.gradle.performance.fixture;
    
    public class PerformanceTestSpec {
        String testId;
        String testClassName;
        Integer runs;
        Integer warmUpRuns;
    
        public String getTestId() {
            return testId;
        }
    
        public void setTestId(String testId) {
            this.testId = testId;
        }
    
        public String getTestClassName() {
            return testClassName;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

        val androidStudioHome: Provider<String>,
        @get:Internal
        val androidStudioJvmArgs: List<String>,
        providers: ProviderFactory
    ) : CommandLineArgumentProvider {
    
        @get:Optional
        @get:Nested
        val studioInstallationProvider = providers.provider {
            if (autoDownloadAndroidStudio) {
                studioInstallation
            } else {
                null
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 09:51:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/NestedBeanKotlinInterOpIntegrationTest.groovy

                import ${DefaultTask.name}
                import ${TaskAction.name}
                import ${Nested.name}
    
                abstract class SomeTask: DefaultTask() {
                    @get:Nested
                    abstract val params: Params
    
                    @TaskAction
                    fun run() {
                        println("flag = " + params.flag.get())
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top