Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for CacheRecord (4.46 sec)

  1. maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java

        }
    
        /**
         * CacheRecord
         */
        class CacheRecord {
    
            private final Set<Artifact> artifacts;
    
            private final LifecycleExecutionException exception;
    
            CacheRecord(Set<Artifact> artifacts) {
                this.artifacts = artifacts;
                this.exception = null;
            }
    
            CacheRecord(LifecycleExecutionException exception) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:34:19 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

        }
    
        @Override
        public CacheRecord get(Key key) throws LifecycleExecutionException {
            CacheRecord cacheRecord = cache.get(key);
            if (cacheRecord != null && cacheRecord.getException() != null) {
                throw cacheRecord.getException();
            }
            return cacheRecord;
        }
    
        @Override
        public CacheRecord put(Key key, Set<Artifact> projectArtifacts) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java

                DependencyFilter extensionFilter,
                List<RemoteRepository> repositories,
                RepositorySystemSession session);
    
        CacheRecord get(Key key) throws PluginResolutionException;
    
        CacheRecord put(Key key, List<Artifact> pluginArtifacts);
    
        CacheRecord put(Key key, PluginResolutionException e);
    
        void flush();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            CacheRecord cacheRecord = cache.get(key);
    
            if (cacheRecord != null && cacheRecord.getException() != null) {
                throw cacheRecord.getException();
            }
    
            return cacheRecord;
        }
    
        public CacheRecord put(Key key, List<Artifact> pluginArtifacts) {
            Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");
    
            assertUniqueKey(key);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

            CacheRecord(ClassRealm realm, DependencyFilter extensionArtifactFilter) {
                this.realm = realm;
                this.extensionArtifactFilter = extensionArtifactFilter;
            }
        }
    
        Key createKey(List<? extends ClassRealm> extensionRealms);
    
        CacheRecord get(Key key);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java

         */
        interface Key {
            // marker interface for cache keys
        }
    
        /**
         * CacheRecord
         */
        class CacheRecord {
    
            private final ClassRealm realm;
    
            private final ExtensionDescriptor descriptor;
    
            private final List<Artifact> artifacts;
    
            CacheRecord(ClassRealm realm, ExtensionDescriptor descriptor, List<Artifact> artifacts) {
                this.realm = realm;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

    public interface PluginRealmCache {
        /**
         * CacheRecord
         */
        class CacheRecord {
            public ClassRealm getRealm() {
                return realm;
            }
    
            public List<Artifact> getArtifacts() {
                return artifacts;
            }
    
            private final ClassRealm realm;
    
            private final List<Artifact> artifacts;
    
            public CacheRecord(ClassRealm realm, List<Artifact> artifacts) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/EmptyProjectBuildingHelper.java

            } else {
                return new ArrayList<>();
            }
        }
    
        public ProjectRealmCache.CacheRecord createProjectRealm(
                MavenProject project, Model model, ProjectBuildingRequest request) {
            return new ProjectRealmCache.CacheRecord(null, null);
        }
    
        public void selectProjectRealm(MavenProject project) {}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultModelBuildingListener.java

                                e);
            }
            project.setPluginArtifactRepositories(pluginRepositories);
    
            if (event.request().isProcessPlugins()) {
                try {
                    ProjectRealmCache.CacheRecord record =
                            projectBuildingHelper.createProjectRealm(project, model, projectBuildingRequest);
    
                    project.setClassRealm(record.getRealm());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingHelper.java

         * @return The record with the project realm and extension artifact filter, never {@code null}.
         * @throws PluginResolutionException If any build extension could not be resolved.
         */
        ProjectRealmCache.CacheRecord createProjectRealm(MavenProject project, Model model, ProjectBuildingRequest request)
                throws PluginResolutionException, PluginVersionResolutionException, PluginManagerException;
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top