public abstract class BaseExporter extends AbstractTask<Boolean> implements ModelExporter
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected LogicalModel |
model |
protected StreamProvider |
streams |
canceledMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
BaseExporter(LogicalModel model) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
export() |
Boolean |
performTask()
Placeholder for the actual implementation.
|
void |
setDestination(StreamProvider streams)
Define the destination at which the model will be exported.
|
background, call, cancel, getResult, getStatus, runactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetDestination, setDestinationbackground, cancel, getResult, getStatus, setParameter, setParameters, setParametersprotected StreamProvider streams
protected final LogicalModel model
public BaseExporter(LogicalModel model)
public Boolean performTask()
AbstractTaskperformTask in class AbstractTask<Boolean>public void setDestination(StreamProvider streams)
ModelExportersetDestination in interface ModelExporterstreams - a ready-to-use StreamProviderprotected abstract void export()
throws IOException
IOExceptionCopyright © 2012–2020. All rights reserved.