Class TaskSettings
java.lang.Object
com.inductiveautomation.ignition.gateway.tasks.TaskSettings
This class wraps ups the settings of a gateway task.
It is made as a convenience class for programmatically creating new tasks.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskSettings
createNew
(GatewayContext context, String ownerId, String typeId) <T extends PersistentRecord>
Tvoid
save()
void
setScheduleAtTime
(Date targetDate) void
setScheduleCron
(String pattern) void
setScheduleRunAfterDelay
(long delayMS) void
-
Method Details
-
createNew
-
getTaskRecord
-
getTaskSettingsRecord
-
setScheduleRunImmediately
public void setScheduleRunImmediately() -
setScheduleRunAfterDelay
public void setScheduleRunAfterDelay(long delayMS) -
setScheduleAtTime
-
setScheduleCron
-
save
- Throws:
Exception
-