public class RestoreTask extends AbstractFixedIntervalTask
| Constructor and Description |
|---|
RestoreTask(String id,
String dataSource,
org.joda.time.Interval interval) |
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Returns a descriptive label for this task type.
|
TaskStatus |
run(TaskToolbox toolbox)
Execute a task.
|
getInterval, isReadyequals, getClasspathPrefix, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, success, toStringpublic String getType()
Taskpublic TaskStatus run(TaskToolbox toolbox) throws Exception
Tasktoolbox - Toolbox for this taskException - if this task failedCopyright © 2011–2015. All rights reserved.