net.sf.samtools
Enum SAMFileReader.ValidationStringency

java.lang.Object
  extended by java.lang.Enum<SAMFileReader.ValidationStringency>
      extended by net.sf.samtools.SAMFileReader.ValidationStringency
All Implemented Interfaces:
Serializable, Comparable<SAMFileReader.ValidationStringency>
Enclosing class:
SAMFileReader

public static enum SAMFileReader.ValidationStringency
extends Enum<SAMFileReader.ValidationStringency>

How strict to be when reading a SAM or BAM, beyond bare minimum validation.


Enum Constant Summary
LENIENT
          Emit warnings but keep going if possible.
SILENT
          Like LENIENT, only don't emit warning messages.
STRICT
          Do the right thing, throw an exception if something looks wrong.
 
Field Summary
static SAMFileReader.ValidationStringency DEFAULT_STRINGENCY
           
 
Method Summary
static SAMFileReader.ValidationStringency valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SAMFileReader.ValidationStringency[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRICT

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


LENIENT

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


SILENT

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

Field Detail

DEFAULT_STRINGENCY

public static final SAMFileReader.ValidationStringency DEFAULT_STRINGENCY
Method Detail

values

public static SAMFileReader.ValidationStringency[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SAMFileReader.ValidationStringency c : SAMFileReader.ValidationStringency.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SAMFileReader.ValidationStringency valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null