com.microstrategy.web.objects.WebScheduleTriggerTime |
![]() |
This is the base class for all time trigger interfaces
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TypeDayNumeric | Trigger Day types | |||||||||
int | TypeDayOfWeek | Trigger Day types | |||||||||
int | TypeHour | RepeatValueTypes | |||||||||
int | TypeMinute | RepeatValueTypes | |||||||||
int | daily | SubTypes | |||||||||
int | monthly | SubTypes | |||||||||
int | undefined | SubTypes | |||||||||
int | weekly | SubTypes | |||||||||
int | yearly | SubTypes |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
disableTriggerRepeat()
Prevents the trigger from firing multiple times on a trigger day
| ||||||||||
abstract void |
enableTriggerRepeat(int type, int value)
This method is deprecated.
use
enableTriggerRepeat(int)
| ||||||||||
abstract void |
enableTriggerRepeat(int value)
Enables the trigger to fire multiple times on the trigger day
| ||||||||||
abstract int |
getMinutesAfterMidnight()
This method is deprecated.
use
getRepeatStart()
| ||||||||||
abstract int |
getRepeatStart()
Returns the number of seconds after midnight that this trigger will begin
repeat firing.
| ||||||||||
abstract int |
getRepeatStop()
Returns the number of seconds after midnight that this trigger will end
repeat firing.
| ||||||||||
abstract int |
getRepeatValue()
Returns the number of minutes between same day firings
| ||||||||||
abstract int |
getRepeatValueType()
This method is deprecated.
This interface only supports
TypeMinute as of 2009.05.07
| ||||||||||
abstract int |
getTriggerSubType()
Returns the subtype of a time trigger
| ||||||||||
abstract String |
getTriggerTime()
Returns text specifying the 24-hour time that the trigger will fire
once.
| ||||||||||
abstract boolean |
isTriggerRepeatable()
Returns whether this trigger will fire repeatedly throughout the
trigger day
| ||||||||||
abstract void |
setMinutesAfterMidnight(int minutes)
This method is deprecated.
use
setRepeatStart(int)
| ||||||||||
abstract void |
setRepeatStart(int seconds)
Sets the number of seconds after midnight that the trigger will begin
repeat firing.
| ||||||||||
abstract void |
setRepeatStop(int seconds)
Sets the number of seconds after midnight that this trigger will end
repeat firing.
| ||||||||||
abstract void |
setTriggerTime(String time)
Sets the time at which the trigger will fire once.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Trigger Day types
Trigger Day types
RepeatValueTypes
RepeatValueTypes
SubTypes
SubTypes
SubTypes
SubTypes
SubTypes
Prevents the trigger from firing multiple times on a trigger day
This method is deprecated.
use enableTriggerRepeat(int)
Enables the trigger to fire multiple times on the trigger day
type | int specifying whether the time between same day firings
will be measured in hours or minutes. See: TypeHour
and TypeMinute |
---|---|
value | int specifying the number of hours or minutes between same day firings. Must be between 1 and 23 for hours. |
Enables the trigger to fire multiple times on the trigger day
value | int specifying the number of minutes between same day firings |
---|
This method is deprecated.
use getRepeatStart()
Returns the minutes after midnight that this trigger will begin
firing. Meaningless if TriggerRepeat is false or if RepeatValue is of
type TypeMinute
Returns the number of seconds after midnight that this trigger will begin
repeat firing. Meaningless if isTriggerRepeatable()
returns false
Returns the number of seconds after midnight that this trigger will end
repeat firing. Meaningless if isTriggerRepeatable()
returns false
Returns the number of minutes between same day firings
This method is deprecated.
This interface only supports TypeMinute
as of 2009.05.07
Returns the type specifying how the repeat value is to be interpretted
TypeHour
or TypeMinute
)Returns text specifying the 24-hour time that the trigger will fire once. NOTE: The returned string is meaningless if TriggerRepeat is enabled
Returns whether this trigger will fire repeatedly throughout the trigger day
This method is deprecated.
use setRepeatStart(int)
Sets the number of minutes after midnight that the trigger will begin
firing. Action ignored if TriggerRepeat is false or if RepeatValue is of
type TypeMinute
minutes | int number of minutes |
---|
Sets the number of seconds after midnight that the trigger will begin repeat firing. Only pertinent if TriggerRepeat is enabled.
seconds | int number of seconds after midnight to begin repeat firing |
---|
Sets the number of seconds after midnight that this trigger will end repeat firing. Only pertinent off TriggerRepeat is enabled
seconds | int number of seconds after midnight to end repeat firing |
---|
Sets the time at which the trigger will fire once. NOTE: Disables TriggerRepeat
time | String containing time in either 12-hour (hh:mm:ss ?M) or 24-hour (hh:mm:ss) format |
---|