public class ResultsFactory extends Object
Results
and the elements that comprise it such as
SequencingInfo
.Constructor and Description |
---|
ResultsFactory() |
Modifier and Type | Method and Description |
---|---|
Results |
createResult(String instanceIdentifier,
boolean completeResult,
boolean processingComplete)
This method creates a Results object.
|
SequencingInfo |
createSequencingInfo()
Creates a sequencing info object.
|
static ResultsFactory |
getInstance()
Deprecated.
|
Results |
getResults(byte[] marshalledBytes)
Recreate the Results object from a byte[].
|
Results |
getResults(ds.funnel.data.format.FormatReader mFormat)
Recreate the Results object from a byte[].
|
SequencingInfo |
getSequencingInfo(ds.funnel.data.format.FormatReader mFormat)
Creates a sequencing info from a set of bytes.
|
@Deprecated public static ResultsFactory getInstance()
public Results createResult(String instanceIdentifier, boolean completeResult, boolean processingComplete)
instanceIdentifier
- The instance identifier of the application instance.completeResult
- Indicates whether this is a complete result or a partial one.processingComplete
- Indicates whether the processing is complete.NullPointerException
- If the specified instance identifier is null.public Results getResults(byte[] marshalledBytes) throws ds.funnel.data.format.FormatException
marshalledBytes
- The byte[] representation of the Results.IOException
- If there are problems recreating the object.MarshallingException
- If there are problems recreating the object.ds.funnel.data.format.FormatException
public Results getResults(ds.funnel.data.format.FormatReader mFormat) throws ds.funnel.data.format.FormatException
marshalledBytes
- The byte[] representation of the Results.IOException
- If there are problems recreating the object.MarshallingException
- If there are problems recreating the object.ds.funnel.data.format.FormatException
public SequencingInfo createSequencingInfo()
SequenceInfo
objectpublic SequencingInfo getSequencingInfo(ds.funnel.data.format.FormatReader mFormat) throws ds.funnel.data.format.FormatException
marshalledBytes
- SequenceInfo
objectIOException
- If there are problems recreating the object.ds.funnel.data.format.FormatException
Copyright © 2015. All rights reserved.