Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 471 for setPath (0.22 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/SplitFileHasher.java

            if (globalCacheLocations.isInsideGlobalCache(file.getPath())) {
                return globalHasher.hash(file);
            } else {
                return localHasher.hash(file);
            }
        }
    
        @Override
        public HashCode hash(File file, long length, long lastModified) {
            if (globalCacheLocations.isInsideGlobalCache(file.getPath())) {
                return globalHasher.hash(file, length, lastModified);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 18 16:53:35 UTC 2020
    - 2K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/TaskDetails.java

    import org.gradle.api.Task;
    import org.gradle.api.internal.plugins.DslObject;
    import org.gradle.util.Path;
    
    import javax.annotation.Nullable;
    
    public interface TaskDetails {
        Path getPath();
    
        @Nullable
        String getDescription();
    
        String getTypeName();
    
        static TaskDetails of(Path path, Task task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 29 11:47:48 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/DeferredProjectConfiguration.java

            this.project = project;
        }
    
        public void add(Runnable configuration) {
            if (fired) {
                String message = "Cannot add deferred configuration for project " + project.getPath();
                if (firedSentinel == null) {
                    throw new IllegalStateException(message);
                } else {
                    throw new IllegalStateException(message, firedSentinel);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/projection/ManagedModelProjection.java

            final DefaultModelViewState state = new DefaultModelViewState(modelNode.getPath(), getType(), ruleDescriptor, writable, true);
            return new ModelView<M>() {
                private final Map<String, Object> propertyViews = new HashMap<String, Object>();
    
                @Override
                public ModelPath getPath() {
                    return modelNode.getPath();
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

                            modelBinding.referrer,
                            node.getPath(),
                            predicate.getState().previous(),
                            node.getState()
                        ));
                    }
                    maybeFire();
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return getPathForLocalArtifact(artifact);
        }
    
        public String getPathForLocalMetadata(Metadata metadata) {
            return getPath(metadata, "local");
        }
    
        public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
            return getPath(metadata, getRepositoryKey(repository, context));
        }
    
        String getRepositoryKey(RemoteRepository repository, String context) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/model/internal/ModelNodeRenderer.java

            if (model.isHidden() && !showHidden) {
                return;
            }
    
            StyledTextOutput styledTextoutput = output.getOutput();
    
            if (!model.getPath().equals(ModelPath.ROOT)) {
                printNodeName(model, styledTextoutput);
                maybePrintType(model, styledTextoutput);
                maybePrintValue(model, styledTextoutput);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 29 12:52:59 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultBuildResult.java

        public List<String> taskPaths(TaskOutcome outcome) {
            return Collections.unmodifiableList(CollectionUtils.collect(tasks(outcome), BuildTask::getPath));
        }
    
        @Nullable
        @Override
        public BuildTask task(String taskPath) {
            for (BuildTask task : tasks) {
                if (task.getPath().equals(taskPath)) {
                    return task;
                }
            }
    
            return null;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top