public interface Trigger extends PersistentObject
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getEndTime()
Get the time at which the Trigger should quit repeating - even if an
assigned 'repeatCount' isn't yet satisfied.
|
java.util.Date |
getNextFireTime() |
int |
getRepeatCount()
Get the number of times the Trigger should repeat, after which it
will be automatically deleted.
|
java.lang.Integer |
getRepeatCountLeft() |
long |
getRepeatInterval()
Get the the time interval (in milliseconds) at which the Trigger should
repeat.
|
java.util.ArrayList |
getScriptList()
Get Scripts List executed by trigger.
|
java.util.Date |
getStartTime()
Get the time at which the Trigger should occur.
|
TriggerFrequencyType |
getTriggerFrequencyType() |
java.util.TimeZone |
getUserTimeZone() |
boolean |
isActive()
Get the value of current state of trigger (active or inactive).
|
boolean |
isUseUserTimeZone() |
void |
setActive(boolean b)
Set the state of trigger (active or inactive).
|
void |
setEndTime(java.util.Date date)
Set the time at which the Trigger should quit repeating (and be
automatically deleted).
|
void |
setNextFireTime(java.util.Date nextFireTime) |
void |
setRepeatCount(int rc)
Set the the number of time the Trigger should repeat, after which it will
be automatically deleted.
|
void |
setRepeatCountLeft(int repeatCountLeft) |
void |
setRepeatInterval(long ri)
Set the time interval (in milliseconds) at which the Trigger should
repeat.
|
void |
setScriptList(java.util.ArrayList scriptList)
Set the scripts list to be executed by trigger.
|
void |
setStartTime(java.util.Date date)
Set the the number of time the Trigger should repeat, after which it will
be automatically deleted.
|
void |
setTriggerFrequencyType(TriggerFrequencyType frequencyType) |
void |
setUseUserTimeZone(boolean useUserTimeZone) |
java.lang.String |
toString()
Get the string representation.
|
getDescription, getName, getObjectIdentifier, getProperties, isEditable, setDescription, setEditable, setName, setObjectIdentifierverifyjava.util.ArrayList getScriptList()
int getRepeatCount()
java.util.Date getEndTime()
java.util.Date getStartTime()
long getRepeatInterval()
void setRepeatCount(int rc)
the - number of time the Trigger should repeat.void setStartTime(java.util.Date date)
the - number of time the Trigger should repeat.void setEndTime(java.util.Date date)
the - time at which the Trigger should quit repeatingvoid setRepeatInterval(long ri)
the - time interval (in milliseconds) at which the Trigger should
repeatvoid setScriptList(java.util.ArrayList scriptList)
scripts - listboolean isActive()
void setActive(boolean b)
boolean - value (active or inactive)java.lang.String toString()
toString in class java.lang.ObjectTriggerFrequencyType getTriggerFrequencyType()
void setTriggerFrequencyType(TriggerFrequencyType frequencyType)
java.util.TimeZone getUserTimeZone()
boolean isUseUserTimeZone()
void setUseUserTimeZone(boolean useUserTimeZone)
java.util.Date getNextFireTime()
void setNextFireTime(java.util.Date nextFireTime)
java.lang.Integer getRepeatCountLeft()
void setRepeatCountLeft(int repeatCountLeft)