|
void | save () throws IOException |
|
String | toJson () |
|
String | toJson (Map< String, Object > properties) |
|
|
static final String | SCHEDULER_FILE = "/WEB-INF/elephant/conf/tasks/scheduler.json" |
|
◆ from()
static TaskSettingsSet org.turro.scheduler.task.settings.TaskSettingsSet.from |
( |
String |
json | ) |
|
|
static |
◆ load()
static TaskSettingsSet org.turro.scheduler.task.settings.TaskSettingsSet.load |
( |
| ) |
throws IOException |
|
static |
Definition at line 45 of file TaskSettingsSet.java.
46 Document doc = Document.from(ElephantContext.getRealPath(
SCHEDULER_FILE));
48 return from(doc.content()).addSystemTasks();
50 return new TaskSettingsSet();
static TaskSettingsSet from(String json)
static final String SCHEDULER_FILE
◆ noTasks()
static boolean org.turro.scheduler.task.settings.TaskSettingsSet.noTasks |
( |
| ) |
|
|
static |
◆ save()
void org.turro.scheduler.task.settings.TaskSettingsSet.save |
( |
| ) |
throws IOException |
◆ toJson() [1/2]
String org.turro.scheduler.task.settings.TaskSettingsSet.toJson |
( |
| ) |
|
◆ toJson() [2/2]
String org.turro.scheduler.task.settings.TaskSettingsSet.toJson |
( |
Map< String, Object > |
properties | ) |
|
◆ SCHEDULER_FILE
final String org.turro.scheduler.task.settings.TaskSettingsSet.SCHEDULER_FILE = "/WEB-INF/elephant/conf/tasks/scheduler.json" |
|
static |
The documentation for this class was generated from the following file: