public abstract class AbstractFixedIntervalTask extends AbstractTask
Modifier | Constructor and Description |
---|---|
protected |
AbstractFixedIntervalTask(String id,
String dataSource,
org.joda.time.Interval interval,
Map<String,Object> context) |
protected |
AbstractFixedIntervalTask(String id,
String groupId,
String dataSource,
org.joda.time.Interval interval,
Map<String,Object> context) |
protected |
AbstractFixedIntervalTask(String id,
String groupId,
TaskResource taskResource,
String dataSource,
org.joda.time.Interval interval,
Map<String,Object> context) |
protected |
AbstractFixedIntervalTask(String id,
TaskResource taskResource,
String dataSource,
org.joda.time.Interval interval,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
org.joda.time.Interval |
getInterval() |
boolean |
isReady(TaskActionClient taskActionClient)
Execute preflight actions for a task.
|
canRestore, equals, getClasspathPrefix, getContext, getContextValue, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, stopGracefully, success, toString
protected AbstractFixedIntervalTask(String id, String dataSource, org.joda.time.Interval interval, Map<String,Object> context)
protected AbstractFixedIntervalTask(String id, TaskResource taskResource, String dataSource, org.joda.time.Interval interval, Map<String,Object> context)
protected AbstractFixedIntervalTask(String id, String groupId, String dataSource, org.joda.time.Interval interval, Map<String,Object> context)
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–2017. All rights reserved.