Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 418 for getNodes (0.27 sec)

  1. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
            this.children = this.node.getChildren();
            if (startWith != null) {
                Xpp3Dom startWithNode = (Xpp3Dom) startWith.getNode();
                for (; filteredIndex < children.size(); filteredIndex++) {
                    if (startWithNode.equals(children.get(filteredIndex))) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/toolingApi/eclipse/groovy/src/main/java/org/gradle/sample/Main.java

            ProjectConnection connection = connector.connect();
            try {
                // Load the Eclipse model for the project
                EclipseProject project = connection.getModel(EclipseProject.class);
                System.out.println("Project: " + project.getName());
                System.out.println("Project directory: " + project.getProjectDirectory());
                System.out.println("Source directories:");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/GradleProjectCrossVersionSpec.groovy

    task publicTask {
      group = 'myGroup'
    }
    task privateTask {
    }
    """
    
            when:
            def gradleProject = withConnection { ProjectConnection connection ->
                connection.getModel(GradleProject.class)
            }
    
            then:
            gradleProject != null
            gradleProject.tasks.find { it.name.equals('publicTask') }.isPublic()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/CustomModelStreamingBuildAction.java

            this.type = type;
            this.value = value;
        }
    
        @Override
        public T execute(BuildController controller) {
            controller.send(new CustomModel(value));
            return controller.getModel(type);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r31/FetchTaskAction.java

    import org.gradle.tooling.model.GradleTask;
    
    public class FetchTaskAction implements BuildAction<GradleTask> {
        @Override
        public GradleTask execute(BuildController controller) {
            GradleProject project = controller.getModel(GradleProject.class);
            for (GradleTask task : project.getTasks()) {
                if (task.getName().equals("help")) {
                    return task;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r82/FetchRootProjectsTasks.java

        @Override
        public List<Task> execute(BuildController controller) {
            return controller.getBuildModel().getEditableBuilds().stream()
                .flatMap(build -> controller.getModel(build.getRootProject(), GradleProject.class).getTasks().stream())
                .collect(toList());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 13 08:21:57 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. pkg/volume/util/hostutil/hostutil.go

    	GetOwner(pathname string) (int64, int64, error)
    	// GetSELinuxSupport returns true if given path is on a mount that supports
    	// SELinux.
    	GetSELinuxSupport(pathname string) (bool, error)
    	// GetMode returns permissions of the path.
    	GetMode(pathname string) (os.FileMode, error)
    	// GetSELinuxMountContext returns value of -o context=XYZ mount option on
    	// given mount point.
    	GetSELinuxMountContext(pathname string) (string, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/hostutil_windows.go

    // Windows does not support SELinux.
    func (hu *HostUtil) GetSELinuxSupport(pathname string) (bool, error) {
    	return false, nil
    }
    
    // GetMode returns permissions of the path.
    func (hu *HostUtil) GetMode(pathname string) (os.FileMode, error) {
    	info, err := os.Stat(pathname)
    	if err != nil {
    		return 0, err
    	}
    	return info.Mode(), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/FetchAllTaskSelectorsBuildAction.java

            Map<String, Set<String>> model = new HashMap<String, Set<String>>();
            for (BasicGradleProject project: controller.getBuildModel().getProjects()) {
                BuildInvocations entryPointsForProject = controller.getModel(project, BuildInvocations.class);
                Set<String> selectorNames = new HashSet<String>();
                for (TaskSelector selector : entryPointsForProject.getTaskSelectors()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/GradleBuildModelCrossVersionSpec.groovy

        task buildStuff
    }
    """
        }
    
        def "can request GradleBuild model including projectDirectory"() {
            when:
            GradleBuild model = withConnection { connection -> connection.getModel(GradleBuild) }
    
            then:
            validateModel(model)
            model.projects*.projectDirectory == [projectDir, file('a'), file('b'), file('b/c')]
        }
    
        def validateModel(GradleBuild model) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top