| Constructor and Description |
|---|
TaskImpl(TaskType taskType,
String tenantId,
org.joda.time.DateTime timeSlice,
String target,
Set<String> sources,
int interval,
int window) |
TaskImpl(TaskType taskType,
String tenantId,
org.joda.time.DateTime timeSlice,
String target,
String source,
int interval,
int window) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
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() |
String |
getTenantId() |
org.joda.time.DateTime |
getTimeSlice()
The end time of the time slice for which the task is scheduled.
|
int |
getWindow()
Specifies the amount of data to be included.
|
int |
hashCode() |
String |
toString() |
public TaskImpl(TaskType taskType, String tenantId, org.joda.time.DateTime timeSlice, String target, String source, int interval, int window)
public TaskType getTaskType()
getTaskType in interface Taskpublic String getTenantId()
getTenantId in interface Taskpublic String getTarget()
Taskpublic Set<String> getSources()
TaskgetSources in interface Taskpublic int getInterval()
TaskgetInterval in interface Taskpublic int getWindow()
TasktimeSlice as
the end time.public org.joda.time.DateTime getTimeSlice()
TaskgetTimeSlice in interface TaskCopyright © 2014–2015 Red Hat, Inc.. All rights reserved.