001package is.hi.bok.deduplicator;
002
003/**
004 * Lifted from H1 AdaptiveRevisitAttributeConstants and limited to what DeDuplicator was using.
005 * 
006 *
007 */
008public interface DedupAttributeConstants {
009    
010    
011    /** No knowledge of URI content. Possibly not fetched yet, unable
012     *  to check if different or an error occurred on last fetch attempt. */
013    public static final int CONTENT_UNKNOWN = -1;
014    
015    /** URI content has not changed between the two latest, successfully
016     *  completed fetches. */
017    public static final int CONTENT_UNCHANGED = 0;
018    
019    /** URI content had changed between the two latest, successfully completed
020     *  fetches. By definition, content has changed if there has only been one
021     *  successful fetch made. */
022    public static final int CONTENT_CHANGED = 1;
023
024    /**
025     * Key to use getting state of crawluri from the CrawlURI data.
026     */
027    public static final String A_CONTENT_STATE_KEY = "revisit-state";
028}