public class PackTask extends AbstractTask<List<Object>>
| Constructor and Description |
|---|
PackTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataset(DataSource data) |
void |
addDataset(TTDataSet data) |
boolean |
getIncludeTimestamps()
Get whether to include timestamps.
|
protected List<Object> |
perform() |
void |
setIncludeTimestamps(boolean include)
Set whether to include timestamps.
|
void |
setOutputFile(Function<DataSource,File> func)
Set the function to produce the default files for each data source.
|
execute, getName, getProject, setName, setProjectaddListener, cancel, get, get, interruptTask, isCancelled, isDone, set, setException, wasInterruptedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListenerpublic void addDataset(TTDataSet data)
public void addDataset(DataSource data)
public void setIncludeTimestamps(boolean include)
include - If true (the default), timestamps will be packed.public boolean getIncludeTimestamps()
public void setOutputFile(Function<DataSource,File> func)
pack directory.func - The function.protected List<Object> perform() throws TaskExecutionException, InterruptedException
perform in class AbstractTask<List<Object>>TaskExecutionExceptionInterruptedException