Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateCheckManager (0.09 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)
Back to top