Tabnine Logo
CaptureSearchResult.setRobotFlag
Code IndexAdd Tabnine to your IDE (free)

How to use
setRobotFlag
method
in
org.archive.wayback.core.CaptureSearchResult

Best Java code snippets using org.archive.wayback.core.CaptureSearchResult.setRobotFlag (Showing top 11 results out of 315)

origin: org.netpreserve.openwayback/openwayback-core

  @Override
  int apply(CaptureSearchResult capture, OracleExclusionFilter filter) {
    // mark capture blocked, and include in the result (see ARI-3879).
    // no message is given to user.
    capture.setRobotFlag(CaptureSearchResult.CAPTURE_ROBOT_BLOCKED);
    //return FILTER_EXCLUDE;
    return FILTER_INCLUDE;
  }
},
origin: iipc/openwayback

  @Override
  int apply(CaptureSearchResult capture, OracleExclusionFilter filter) {
    // mark capture blocked, and include in the result (see ARI-3879).
    // no message is given to user.
    capture.setRobotFlag(CaptureSearchResult.CAPTURE_ROBOT_BLOCKED);
    //return FILTER_EXCLUDE;
    return FILTER_INCLUDE;
  }
},
origin: iipc/openwayback

public void setRobotNoIndex() {
  setRobotFlag(CAPTURE_ROBOT_NOINDEX);
}
origin: iipc/openwayback

public void setRobotIgnore() {
  setRobotFlag(CAPTURE_ROBOT_IGNORE);
}
origin: iipc/openwayback

public void setRobotNoArchive() {
  setRobotFlag(CAPTURE_ROBOT_NOARCHIVE);
}
origin: org.netpreserve.openwayback/openwayback-core

public void setRobotNoArchive() {
  setRobotFlag(CAPTURE_ROBOT_NOARCHIVE);
}
origin: org.netpreserve.openwayback/openwayback-core

public void setRobotIgnore() {
  setRobotFlag(CAPTURE_ROBOT_IGNORE);
}
origin: iipc/openwayback

public void setRobotNoFollow() {
  setRobotFlag(CAPTURE_ROBOT_NOFOLLOW);
}
origin: org.netpreserve.openwayback/openwayback-core

public void setRobotNoIndex() {
  setRobotFlag(CAPTURE_ROBOT_NOINDEX);
}
origin: org.netpreserve.openwayback/openwayback-core

public void setRobotNoFollow() {
  setRobotFlag(CAPTURE_ROBOT_NOFOLLOW);
}
origin: iipc/openwayback

  @Override
  public int filterObject(CaptureSearchResult o) {
    if (o.getCaptureTimestamp().startsWith("20101124")) {
      o.setRobotFlag(CaptureSearchResult.CAPTURE_ROBOT_BLOCKED);
    }
    return FILTER_INCLUDE;
  }
};
org.archive.wayback.coreCaptureSearchResultsetRobotFlag

Javadoc

Add a flag to robotflags field. If flag is already set, this is a no-op.

Popular methods of CaptureSearchResult

  • <init>
  • setUrlKey
  • getOriginalUrl
  • setFile
  • setHttpCode
  • setMimeType
  • setOffset
  • setOriginalUrl
  • flagDuplicateDigest
    Mark this capture as a revisit of previous capture payload, identified by content digest.Record loca
  • getCaptureDate
  • getCaptureTimestamp
  • getDigest
  • getCaptureTimestamp,
  • getDigest,
  • getDuplicatePayload,
  • getDuplicatePayloadCompressedLength,
  • getDuplicatePayloadFile,
  • getDuplicatePayloadOffset,
  • getFile,
  • getOffset,
  • getRobotFlags,
  • getUrlKey

Popular in Java

  • Start an intent from android
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now