|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibi.broker.api.data.schedule.TimeInterval
public class TimeInterval
| Constructor Summary | |
|---|---|
TimeInterval()
|
|
| Method Summary | |
|---|---|
int |
getDuration()
Obtains the duration of a scheduled event, in minutes. |
int |
getInterval()
Obtains the interval for a scheduled event, in minutes. |
java.util.Calendar |
getUntilTime()
Obtains the time until which a scheduled even will run, as a String, in the format HHmm, where HH is the hour and mm is the minute. |
boolean |
isEnabled()
|
boolean |
isUseUntilTime()
|
void |
setDuration(int duration)
Assigns the duration of a scheduled event, in minutes. |
void |
setEnabled(boolean isEnabled)
|
void |
setInterval(int frequency)
Assigns the interval for a scheduled event, in minutes. |
void |
setUntilTime(java.util.Calendar untilTime)
Assigns the time until which a scheduled even will run, as a String, in the format HHmm, where HH is the hour and mm is the minute. |
void |
setUseUntilTime(boolean isUseUntilTime)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeInterval()
| Method Detail |
|---|
public int getInterval()
setInterval(int)public void setInterval(int frequency)
frequency - An integer representing run interval, in minutes.getInterval()public int getDuration()
setDuration(int)public void setDuration(int duration)
duration - An integer representing the duration of a scheduled event,
in minutes.getDuration()public java.util.Calendar getUntilTime()
public void setUntilTime(java.util.Calendar untilTime)
untilTime - The time until which a scheduled even will run.public boolean isEnabled()
public void setEnabled(boolean isEnabled)
public boolean isUseUntilTime()
public void setUseUntilTime(boolean isUseUntilTime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||