public class ResultsFactory
extends java.lang.Object
Results
and the elements that comprise it such as
SequencingInfo
.Modifier and Type | Method and Description |
---|---|
Results |
createResult(java.lang.String instanceIdentifier,
boolean completeResult,
boolean processingComplete)
This method creates a Results object.
|
SequencingInfo |
createSequencingInfo()
Creates a sequencing info object.
|
static ResultsFactory |
getInstance()
Retrieve the singleton instance of the ResultsFactory.
|
Results |
getResults(byte[] marshalledBytes)
Recreate the Results object from a byte[].
|
SequencingInfo |
getSequencingInfo(byte[] marshalledBytes)
Creates a sequencing info from a set of bytes.
|
static void |
main(java.lang.String[] args) |
public static ResultsFactory getInstance()
public Results createResult(java.lang.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.java.lang.NullPointerException
- If the specified instance identifier is null.public Results getResults(byte[] marshalledBytes) throws java.io.IOException, MarshallingException
marshalledBytes
- The byte[] representation of the Results.java.io.IOException
- If there are problems recreating the object.MarshallingException
- If there are problems recreating the object.public SequencingInfo createSequencingInfo()
SequenceInfo
objectpublic SequencingInfo getSequencingInfo(byte[] marshalledBytes) throws java.io.IOException
marshalledBytes
- SequenceInfo
objectjava.io.IOException
- If there are problems recreating the object.public static void main(java.lang.String[] args)
args
-