Enum Class Tier

java.lang.Object
java.lang.Enum<Tier>
ai.redouble.demo.extract.Tier
All Implemented Interfaces:
Serializable, Comparable<Tier>, Constable

public enum Tier extends Enum<Tier>
How a file's text was, or was not, obtained. The three that cost something are the point of the demo: most files never touch a model, a scan goes to a model that can see, and only what the code cannot place goes to a model that can judge.
Since:
0.1 (2026-09-14)
Author:
Andrey Santrosyan
  • Enum Constant Details

    • DETERMINISTIC

      public static final Tier DETERMINISTIC
      Read by code: plain text, source, data files, PDF with a text layer, Office documents.
    • VISION

      public static final Tier VISION
      Transcribed by a vision-capable model: images, and PDFs with no text layer.
    • CLASSIFIER

      public static final Tier CLASSIFIER
      Judged by a small model from its first bytes, then read by code when it turned out to be text.
    • SKIPPED

      public static final Tier SKIPPED
      Binary with nothing to extract, left out with the reason.
    • NEEDS_PERSON

      public static final Tier NEEDS_PERSON
      Something no tier could place; a person looks.
    • REFUSED

      public static final Tier REFUSED
      Refused at admission: the run's spend cap.
    • FAILED

      public static final Tier FAILED
      The job failed; the reason is on the row.
  • Method Details

    • values

      public static Tier[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Tier valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null