Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Record (0.16 sec)

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

        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");
    
            assertUniqueKey(key);
    
            CacheRecord record = new CacheRecord(Collections.unmodifiableList(new ArrayList<>(pluginArtifacts)));
    
            cache.put(key, record);
    
            return record;
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            }
    
            CacheRecord record = new CacheRecord(artifacts);
            cache.put(key, record);
            return record;
        }
    
        @Override
        public CacheRecord put(Key key, LifecycleExecutionException exception) {
            Objects.requireNonNull(exception, "exception cannot be null");
            assertUniqueKey(key);
            CacheRecord record = new CacheRecord(exception);
            cache.put(key, record);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            }
    
            CacheRecord record = new CacheRecord(projectRealm, extensionArtifactFilter);
    
            cache.put(key, record);
    
            return record;
        }
    
        public void flush() {
            for (CacheRecord record : cache.values()) {
                ClassRealm realm = record.getRealm();
                try {
                    realm.getWorld().disposeRealm(realm.getId());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

            }
    
            CacheRecord record = new CacheRecord(pluginRealm, pluginArtifacts);
    
            cache.put(key, record);
    
            return record;
        }
    
        public void flush() {
            for (CacheRecord record : cache.values()) {
                ClassRealm realm = record.getRealm();
                try {
                    realm.getWorld().disposeRealm(realm.getId());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuildingEvent.java

    import org.apache.maven.api.services.ModelProblemCollector;
    import org.apache.maven.api.services.model.ModelBuildingEvent;
    
    /**
     * Holds data relevant for a model building event.
     */
    record DefaultModelBuildingEvent(
            Model model, Consumer<Model> update, ModelBuilderRequest request, ModelProblemCollector problems)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java

        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelData.java

     * processing by providing a means to transport information that cannot be (easily) extracted from the model itself.
     */
    record ModelData(ModelSource source, Model model) {
    
        /**
         * Gets unique identifier of the model
         *
         * @return The effective identifier of the model, never {@code null}.
         */
        public String id() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                final MavenSession rootSession,
                final MavenSession currentSession,
                final MavenProject mavenProject,
                Throwable t,
                final long buildStartTime) {
            // record the error and mark the project as failed
            long buildEndTime = System.currentTimeMillis();
            buildContext.getResult().addException(t);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
Back to top