Enum Class ValidationStringency

java.lang.Object
java.lang.Enum<ValidationStringency>
htsjdk.samtools.ValidationStringency
All Implemented Interfaces:
Serializable, Comparable<ValidationStringency>, Constable

public enum ValidationStringency extends Enum<ValidationStringency>
How strict to be when reading a SAM or BAM, beyond bare minimum validation.
  • Enum Constant Details

    • STRICT

      public static final ValidationStringency STRICT
      Do the right thing, throw an exception if something looks wrong.
    • LENIENT

      public static final ValidationStringency LENIENT
      Emit warnings but keep going if possible.
    • SILENT

      public static final ValidationStringency SILENT
      Like LENIENT, only don't emit warning messages.
  • Field Details

  • Method Details

    • values

      public static ValidationStringency[] 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 ValidationStringency 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