| Constructor and Description |
|---|
TaskImpl(TaskType taskType,
org.joda.time.DateTime timeSlice,
String target,
Set<String> sources,
org.joda.time.Duration interval,
org.joda.time.Duration window) |
TaskImpl(TaskType taskType,
org.joda.time.DateTime timeSlice,
String target,
String source,
int interval,
int window) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.joda.time.Duration |
getInterval()
The frequency of the task execution, e.g., five minutes.
|
Set<String> |
getSources()
The keys or identifiers of the time series associated with the source data being operated on.
|
String |
getTarget()
This is a key or identifier of the time series that is associated with the task.
|
TaskType |
getTaskType() |
org.joda.time.DateTime |
getTimeSlice()
The end time of the time slice for which the task is scheduled.
|
org.joda.time.Duration |
getWindow()
Specifies the amount of data to be included.
|
int |
hashCode() |
String |
toString() |
public TaskImpl(TaskType taskType, org.joda.time.DateTime timeSlice, String target, String source, int interval, int window)
public TaskType getTaskType()
getTaskType in interface Taskpublic String getTarget()
Taskpublic Set<String> getSources()
TaskgetSources in interface Taskpublic org.joda.time.Duration getInterval()
TaskgetInterval in interface Taskpublic org.joda.time.Duration getWindow()
TasktimeSlice as
the end time.public org.joda.time.DateTime getTimeSlice()
TaskgetTimeSlice in interface TaskCopyright © 2014–2015 Red Hat, Inc.. All rights reserved.