public class CollateJob extends Job
IJobChangeListener
and retrieve the status and collation results when
the collation has finished. The job reports progress and supports
cancellation, but especially for large collation sets it may take a while
until it reacts to a cancel operation.Constructor and Description |
---|
CollateJob(String name,
CollationSet collationSet) |
Modifier and Type | Method and Description |
---|---|
CollationResults |
getCollationResults() |
CollationSet |
getCollationSet() |
VariantGraph |
getVariantGraph()
Returns the
VariantGraph created by the collation process, or
null if the job has not started yet. |
protected IStatus |
run(IProgressMonitor monitor) |
addJobChangeListener, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
getAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdapter
public CollateJob(String name, CollationSet collationSet)
public CollationResults getCollationResults()
protected IStatus run(IProgressMonitor monitor)
public CollationSet getCollationSet()
public VariantGraph getVariantGraph()
VariantGraph
created by the collation process, or
null
if the job has not started yet.
Warning: It is possible to retrieve a
VariantGraph
while the job is still running, but results may be
undefined. I.e. you don't want to do that.Copyright © 2013 TextGrid. All Rights Reserved.