Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for updateCheckManager (0.16 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
    
    /**
     * UpdateCheckManager
     */
    @Deprecated
    public interface UpdateCheckManager {
    
        boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository);
    
        void touch(Artifact artifact, ArtifactRepository repository, String error);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertNull(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

        }
    
        private UpdateCheckManager updateCheckManager;
    
        public final UpdateCheckManager getUpdateCheckManager() {
            checkClosed();
            if (updateCheckManager == null) {
                updateCheckManager = createUpdateCheckManager();
            }
            return updateCheckManager;
        }
    
        protected UpdateCheckManager createUpdateCheckManager() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

    @Singleton
    @Deprecated
    public class DefaultRepositoryMetadataManager extends AbstractLogEnabled implements RepositoryMetadataManager {
        @Inject
        private WagonManager wagonManager;
    
        @Inject
        private UpdateCheckManager updateCheckManager;
    
        public void resolve(
                RepositoryMetadata metadata,
                List<ArtifactRepository> remoteRepositories,
                ArtifactRepository localRepository)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

        private static final String[] CHECKSUM_ALGORITHMS = {"MD5", "SHA-1"};
    
        @Inject
        private Logger logger;
    
        @Inject
        private PlexusContainer container;
    
        @Inject
        private UpdateCheckManager updateCheckManager;
    
        @Inject
        private LegacySupport legacySupport;
    
        //
        // Retriever
        //
        @Override
        public void getArtifact(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

        }
    
        private UpdateCheckManager updateCheckManager;
    
        public final UpdateCheckManager getUpdateCheckManager() {
            checkClosed();
            if (updateCheckManager == null) {
                updateCheckManager = createUpdateCheckManager();
            }
            return updateCheckManager;
        }
    
        protected UpdateCheckManager createUpdateCheckManager() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

    import org.codehaus.plexus.logging.Logger;
    
    /**
     * DefaultUpdateCheckManager
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultUpdateCheckManager extends AbstractLogEnabled implements UpdateCheckManager {
    
        private static final String ERROR_KEY_SUFFIX = ".error";
    
        public DefaultUpdateCheckManager() {}
    
        public DefaultUpdateCheckManager(Logger logger) {
            enableLogging(logger);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top