Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for updateVersion (0.32 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchyRoot.java

         */
        @CheckReturnValue
        public VersionHierarchyRoot updateVersion(String location) {
            long newVersion = rootNode.getMaxVersionInHierarchy() + 1;
            VfsRelativePath relativePath = VfsRelativePath.of(location);
            VersionHierarchy newRootNode = relativePath.isEmpty()
                ? VersionHierarchy.empty(newVersion)
                : rootNode.updateVersion(relativePath, newVersion, caseSensitivity);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchy.java

         *
         * @param newVersion The new version. Must be bigger than the current maximum version in this hierarchy.
         */
        @CheckReturnValue
        public VersionHierarchy updateVersion(VfsRelativePath relativePath, long newVersion, CaseSensitivity caseSensitivity) {
            ChildMap<VersionHierarchy> newChildren = children.store(relativePath, caseSensitivity, new ChildMap.StoreHandler<VersionHierarchy>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public ArtifactRepository getRepository() {
            return artifact.getRepository();
        }
    
        /** {@inheritDoc} */
        public void updateVersion(String version, ArtifactRepository localRepository) {
            artifact.updateVersion(version, localRepository);
        }
    
        /** {@inheritDoc} */
        public String getDownloadUrl() {
            return artifact.getDownloadUrl();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/VersionHierarchyRootTest.groovy

                .inits().collect { "/${it.join('/')}".toString() }
        }
    
        private void updateVersions(String... locations) {
            VersionHierarchyRoot newVersionHierarchyRoot = versionHierarchyRoot
            for (location in locations) {
                newVersionHierarchyRoot = newVersionHierarchyRoot.updateVersion(location)
            }
            versionHierarchyRoot = newVersionHierarchyRoot
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                        throw new ArtifactNotFoundException("Unable to determine the latest version", artifact);
                    }
    
                    artifact.setBaseVersion(version);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

                        throw new ArtifactNotFoundException("Unable to determine the release version", artifact);
                    }
    
                    artifact.setBaseVersion(version);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

                    result = updateNotifyingListeners(diffListener -> currentRoot.invalidate(location, diffListener));
                    newVersionHierarchyRoot = newVersionHierarchyRoot.updateVersion(location);
                }
                versionHierarchyRoot = newVersionHierarchyRoot;
                return result;
            });
        }
    
        @Override
        public void invalidateAll() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        Collection<ArtifactMetadata> getMetadataList();
    
        void setRepository(ArtifactRepository remoteRepository);
    
        ArtifactRepository getRepository();
    
        void updateVersion(String version, ArtifactRepository localRepository);
    
        String getDownloadUrl();
    
        void setDownloadUrl(String downloadUrl);
    
        ArtifactFilter getDependencyFilter();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 09 17:47:51 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                        }
                    }
                }
            }
            return result;
        }
    
        @Override
        public void updateVersion(String version, ArtifactRepository localRepository) {
            setResolvedVersion(version);
            setFile(new File(localRepository.getBasedir(), localRepository.pathOf(this)));
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 19:20:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top