public abstract class AbstractFixedIntervalTask extends AbstractTask
Modifier | Constructor and Description |
---|---|
protected |
AbstractFixedIntervalTask(String id,
String dataSource,
org.joda.time.Interval interval) |
protected |
AbstractFixedIntervalTask(String id,
String groupId,
String dataSource,
org.joda.time.Interval interval) |
protected |
AbstractFixedIntervalTask(String id,
String groupId,
TaskResource taskResource,
String dataSource,
org.joda.time.Interval interval) |
Modifier and Type | Method and Description |
---|---|
org.joda.time.Interval |
getInterval() |
boolean |
isReady(TaskActionClient taskActionClient)
Execute preflight actions for a task.
|
equals, getClasspathPrefix, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, success, toString
protected AbstractFixedIntervalTask(String id, String dataSource, org.joda.time.Interval interval)
protected AbstractFixedIntervalTask(String id, String groupId, String dataSource, org.joda.time.Interval interval)
protected AbstractFixedIntervalTask(String id, String groupId, TaskResource taskResource, String dataSource, org.joda.time.Interval interval)
public boolean isReady(TaskActionClient taskActionClient) throws Exception
Task
taskActionClient
- action client for this task (not the full toolbox)Exception
- if the task should be considered a failurepublic org.joda.time.Interval getInterval()
Copyright © 2011–2015. All rights reserved.