public class EventSettings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getTimerControlMinutes()
Returns the interval in minutes.
|
Time |
getTimerControlStartTime()
Gets the start time of the event.
|
boolean |
isExecuteAfterScheduledTime() |
boolean |
isExecutionTypeRepeated() |
boolean |
isExecutionTypeSingle() |
boolean |
isExecutionTypeUntilFirstHit() |
boolean |
isFirstExecutionAfterExpire() |
boolean |
isFirstExecutionImmediately() |
boolean |
isTimerControlAuto() |
boolean |
isTimerControlInterval() |
boolean |
isTimerControlStartTime() |
void |
setExecuteAfterScheduledTime(boolean executeAfterScheduledTime)
Defines if the event should start after the scheduled time.
|
void |
setExecutionTypeRepeated()
Sets the execution type to repeated.
|
void |
setExecutionTypeSingle()
Sets the execution type to single.
|
void |
setExecutionTypeUntilFirstHit()
Sets the execution type to "Until first hit".
|
void |
setFirstExecutionAfterExpire()
Sets the first execution after time is expired .
|
void |
setFirstExecutionImmediately()
Sets the first execution immediately.
|
void |
setTimerControlAuto()
Sets the TimeControl to Auto.
|
void |
setTimerControlInterval(int interval)
Sets the polling interval in minutes.
|
void |
setTimerControlStartTime(Time start)
Sets the start time of the event.
|
public boolean isExecuteAfterScheduledTime()
public void setExecuteAfterScheduledTime(boolean executeAfterScheduledTime)
executeAfterScheduledTime
- True if the event should be started after the scheduled timepublic boolean isFirstExecutionAfterExpire()
public boolean isFirstExecutionImmediately()
public void setFirstExecutionImmediately()
public void setFirstExecutionAfterExpire()
public void setExecutionTypeRepeated()
public boolean isExecutionTypeRepeated()
public void setExecutionTypeSingle()
public boolean isExecutionTypeSingle()
public void setExecutionTypeUntilFirstHit()
public boolean isExecutionTypeUntilFirstHit()
public boolean isTimerControlInterval()
public void setTimerControlInterval(int interval)
interval
- Interval in minutespublic int getTimerControlMinutes()
public boolean isTimerControlStartTime()
public void setTimerControlStartTime(Time start)
start
- Start timepublic Time getTimerControlStartTime()
public void setTimerControlAuto()
public boolean isTimerControlAuto()