- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 412 for getNodes (0.61 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/InvalidModel2Action.java
import org.gradle.tooling.BuildController; public class InvalidModel2Action implements BuildAction<CustomModel2> { @Override public CustomModel2 execute(BuildController controller) { return controller.getModel(CustomModel2.class, CustomParameter.class, new Action<CustomParameter>() { @Override public void execute(CustomParameter customParameter) {} }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil_unsupported.go
// GetSELinuxSupport always returns an error on unsupported platforms func (hu *HostUtil) GetSELinuxSupport(pathname string) (bool, error) { return false, errUnsupported } // GetMode always returns an error on unsupported platforms func (hu *HostUtil) GetMode(pathname string) (os.FileMode, error) { return 0, errUnsupported } func getDeviceNameFromMount(mounter mount.Interface, mountPath, pluginMountDir string) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 10:17:38 UTC 2022 - 3.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
.getCanonicalPath()); } catch (IOException e) { throw new RuntimeException(e); } project.getModel().addDependency(dependency); } @Override public void afterSessionStart(MavenSession session) { session.getUserProperties().setProperty("injected", "bar"); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 6K bytes - Viewed (0) -
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)