Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for getBuildModel (0.24 sec)

  1. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/DefaultBuildControllerTest.groovy

        def "cannot get build model from unmanaged thread"() {
            given:
            _ * workerThreadRegistry.workerThread >> false
    
            when:
            controller.getBuildModel()
    
            then:
            IllegalStateException e = thrown()
            e.message == "A build controller cannot be used from a thread that is not managed by Gradle."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildController.java

         * This is equivalent to calling {@code #getModel(GradleBuild.class)}.
         *
         * @return The model.
         */
        GradleBuild getBuildModel();
    
        /**
         * Fetches a snapshot of the model of the given type for the given element, usually a Gradle project.
         *
         * <p>The following elements are supported as targets:
         *
         * <ul>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top