public class Schedule extends Object
Constructor and Description |
---|
Schedule() |
Modifier and Type | Method and Description |
---|---|
int |
frequencyInMinutes()
Get frequency (in minutes) at which rule condition should be evaluated.
|
int |
timeWindowInMinutes()
Get time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
|
Schedule |
withFrequencyInMinutes(int frequencyInMinutes)
Set frequency (in minutes) at which rule condition should be evaluated.
|
Schedule |
withTimeWindowInMinutes(int timeWindowInMinutes)
Set time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
|
public int frequencyInMinutes()
public Schedule withFrequencyInMinutes(int frequencyInMinutes)
frequencyInMinutes
- the frequencyInMinutes value to setpublic int timeWindowInMinutes()
public Schedule withTimeWindowInMinutes(int timeWindowInMinutes)
timeWindowInMinutes
- the timeWindowInMinutes value to setCopyright © 2019. All rights reserved.