- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 265 for getNodes (0.18 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r62/ToolingApiIdeaLocalGroovyCrossVersionSpec.groovy
} dependencies { implementation(localGroovy()) } """ when: IdeaProject ideaProject = toolingApi.withConnection { connection -> connection.getModel(IdeaProject) } then: def ideaModule = ideaProject.modules.find { it.name == 'root' } def dependency = ideaModule.dependencies.find { it.file.name.contains("groovy-") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/Destination.java
*/ public enum Destination implements Serializable { StdOut(0), StdErr(1); private final int code; Destination(int code) { this.code = code; } public int getCode() { return code; } public static Destination fromCode(int code) { for (Destination d : Destination.values()) { if (d.code == code) { return d; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/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: Wed Jun 05 08:55:56 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/HangingBuildAction.java
import org.gradle.tooling.BuildController; import org.gradle.tooling.model.GradleProject; public class HangingBuildAction implements BuildAction<Void> { public Void execute(BuildController controller) { controller.getModel(GradleProject.class); throw new GradleException("Should be cancelled before the end of action."); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/FetchProjectAction.java
@Override public ProjectPublications execute(BuildController controller) { GradleBuild buildModel = controller.getBuildModel(); return controller.getModel(buildModel.getRootProject(), ProjectPublications.class); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/customModel/groovy/tooling/src/main/java/org/gradle/sample/Main.java
ProjectConnection connection = connector.connect(); try { // Load the custom model for the project CustomModel model = connection.getModel(CustomModel.class); System.out.println("Project: " + model.getName()); System.out.println("Tasks: "); for (String task : model.getTasks()) { System.out.println(" " + task);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/LockOptions.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.cache; public interface LockOptions { FileLockManager.LockMode getMode(); boolean isUseCrossVersionImplementation(); /** * Creates a copy of this options instance using the given mode. * * @param mode the mode to overwrite the current mode with */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:52 UTC 2024 - 982 bytes - Viewed (0) -
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) -
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) -
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)