Proxy.Reminder
public static interface Proxy.ReminderRO
node.reminder
- read-only.
def rem = node.reminder if (!rem.remindAt) c.statusInfo = "this node has no reminder" else c.statusInfo = "reminder fires at ${rem.remindAt} and then every ${rem.period} ${rem.periodUnit}"
Modifier and Type | Method | Description |
---|---|---|
Integer |
getPeriod() |
Count in units of "PeriodUnit".
|
String |
getPeriodUnit() |
One of ["MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "YEAR"].
|
Date |
getRemindAt() |
The timestamp when the reminder fires first.
|
String |
getScript() |
optional: a Groovy script to execute when the reminder fires.
|
Date getRemindAt()
String getPeriodUnit()
Integer getPeriod()
String getScript()