public class CRAMEncoderOptions
extends java.lang.Object
Constructor and Description |
---|
CRAMEncoderOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<IOPath> |
getReferencePath()
Get the reference path for these options.
|
java.util.Optional<CRAMReferenceSource> |
getReferenceSource()
Get the
CRAMReferenceSource for these options. |
CRAMEncoderOptions |
setReferencePath(IOPath referencePath)
Set the reference path for these options.
|
CRAMEncoderOptions |
setReferenceSource(CRAMReferenceSource referenceSource)
Set the
CRAMReferenceSource for these options. |
public java.util.Optional<CRAMReferenceSource> getReferenceSource()
CRAMReferenceSource
for these options.CRAMReferenceSource
for these options, or Optional.empty() if nonepublic CRAMEncoderOptions setReferenceSource(CRAMReferenceSource referenceSource)
CRAMReferenceSource
for these options. Mutually exclusive with
setReferencePath(IOPath)
, which must be set to null in order to set a CRAMReferenceSource
.referenceSource
- the CRAMReferenceSource
for these options. May be null.java.lang.IllegalArgumentException
- if a reference path is already set on these optionspublic java.util.Optional<IOPath> getReferencePath()
public CRAMEncoderOptions setReferencePath(IOPath referencePath)
setReferenceSource(CRAMReferenceSource)
,
which must be set to null in order to set a reference path.referencePath
- The path to use. may be null.java.lang.IllegalArgumentException
- if a reference source is already set on these options