Package picard.sam.markduplicates
Enum MarkDuplicates.DuplicateTaggingPolicy
- java.lang.Object
-
- java.lang.Enum<MarkDuplicates.DuplicateTaggingPolicy>
-
- picard.sam.markduplicates.MarkDuplicates.DuplicateTaggingPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<MarkDuplicates.DuplicateTaggingPolicy>
- Enclosing class:
- MarkDuplicates
public static enum MarkDuplicates.DuplicateTaggingPolicy extends Enum<MarkDuplicates.DuplicateTaggingPolicy>
Enum used to control how duplicates are flagged in the DT optional tag on each read.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
DontTag
OpticalOnly
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MarkDuplicates.DuplicateTaggingPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static MarkDuplicates.DuplicateTaggingPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DontTag
public static final MarkDuplicates.DuplicateTaggingPolicy DontTag
-
OpticalOnly
public static final MarkDuplicates.DuplicateTaggingPolicy OpticalOnly
-
All
public static final MarkDuplicates.DuplicateTaggingPolicy All
-
-
Method Detail
-
values
public static MarkDuplicates.DuplicateTaggingPolicy[] 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 (MarkDuplicates.DuplicateTaggingPolicy c : MarkDuplicates.DuplicateTaggingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarkDuplicates.DuplicateTaggingPolicy 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 nameNullPointerException
- if the argument is null
-
-