Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for getNodes (0.17 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

        Node getRoot();
    
        /**
         * The ordered list of the flattened dependency nodes.
         *
         * @return the ordered list of the flattened dependency nodes
         */
        @Nonnull
        List<Node> getNodes();
    
        /**
         * Returns the file paths of all dependencies, regardless on which tool option those paths should be placed.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/DefaultBuildControllerTest.groovy

            _ * modelController.locateBuilderForTarget(projectState, "some.model", false) >> modelScope
            _ * modelScope.getModel("some.model", null) >> model
    
            when:
            def result = controller.getModel(target, modelId)
    
            then:
            result.getModel() == model
        }
    
        def "uses builder for specified build"() {
            def rootDir = new File("dummy")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r72/CompositeBuildCrossVersionSpec.groovy

    class CompositeBuildCrossVersionSpec extends ToolingApiSpecification {
        def "includes buildSrc builds in model"() {
            buildsWithBuildSrc()
    
            given:
            def model = withConnection {
                it.getModel(GradleBuild)
            }
    
            expect:
            model.includedBuilds.size() == 1
    
            def included = model.includedBuilds[0]
            included.buildIdentifier.rootDir == file("child")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/PublicationsCrossVersionSpec.groovy

                connection.getModel(ProjectPublications)
            }
    
            then:
            publications.publications.empty
        }
    
        def "project without any configured publications"() {
            buildFile << "apply plugin: 'java'"
    
            when:
            ProjectPublications publications = withConnection { connection ->
                connection.getModel(ProjectPublications)
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java

         */
        @Override
        @Deprecated
        public BuildResult<?> getModel(Object target, ModelIdentifier modelIdentifier) throws BuildExceptionVersion1, InternalUnsupportedModelException {
            return getModel(target, modelIdentifier, null);
        }
    
        /**
         * This is used by consumers 4.4 and later
         */
        @Override
        public BuildResult<?> getModel(@Nullable Object target, ModelIdentifier modelIdentifier, Object parameter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:14 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/FetchIdeaProjectForTarget.java

                    return controller.getModel(project, IdeaProject.class);
                }
            }
            for (GradleBuild editableBuild : buildModel.getEditableBuilds()) {
                for (BasicGradleProject project : editableBuild.getProjects()) {
                    if (targetProject.equals(project.getBuildTreePath())) {
                        return controller.getModel(project, IdeaProject.class);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy

                            jdkName = 'MyJDK3'
                        }
                    }
                }
    
            """
    
            when:
            def ideaProject = withConnection { connection -> connection.getModel(IdeaProject) }
    
            then:
            ideaProject.modules.find { it.name == 'root' }.jdkName == 'MyJDK1'
            ideaProject.modules.find { it.name == 'child1' }.jdkName == 'MyJDK2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/BlockingModelSendingBuildAction.java

            this.uri = uri;
        }
    
        @Override
        public CustomModel execute(BuildController controller) {
            System.out.println("ACTION STARTED");
            GradleProject gradleProject = controller.getModel(GradleProject.class);
            controller.send(gradleProject);
    
            System.out.println("ACTION WAITING");
            try {
                uri.toURL().openConnection().getContentLength();
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ModelStreamingBuildAction.java

    class ModelStreamingBuildAction implements BuildAction<CustomModel> {
        @Override
        public CustomModel execute(BuildController controller) {
            EclipseProject eclipseProject = controller.getModel(EclipseProject.class);
            GradleProject gradleProject = controller.getModel(GradleProject.class);
    
            // Intentionally sending models in an order different from requesting models
            controller.send(gradleProject);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

                    test {
                        java {}
                        resources {}
                    }
                }
            }
    
            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            IdeaModule module = project.children[0]
            IdeaContentRoot root = module.contentRoots[0]
    
            then:
            root.sourceDirectories.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top