Index | Method | Request(s) | Response | Description | ||||
---|---|---|---|---|---|---|---|---|
1 | listTasks |
sid |
task | list of all available tasks | ||||
2 | getTask |
sid name |
task | gets a specific task | ||||
3 | enable |
sid name |
enables a task | |||||
4 | disable |
sid name |
disables a task | |||||
5 | getLog |
sid name |
gets the log file of a given task | |||||
6 | start |
sid name |
starts a task | |||||
7 | stop |
sid name |
gracefully stops a task |
list of all available tasks
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
task
|
WSTask | Y | Y | |||||
name
|
String | Y | unique identifier | |||||
status
|
Int | Y | 0 = idle, 1 = running, 2 = stopping | |||||
size
|
Long | Y | total number of units of work | |||||
progress
|
Long | Y | number of units of work already processed | |||||
completion
|
Int | Y | completion percentage | |||||
indeterminate
|
Boolean | Y | if false this task is not able to calculate the size of the elaboration | |||||
concurrent
|
Boolean | Y | if true this task supports concurrent executions | |||||
enabled
|
Boolean | Y | if true this task is enabled and available for execution |
gets a specific task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
task
|
WSTask | Y | ||||||
name
|
String | Y | unique identifier | |||||
status
|
Int | Y | 0 = idle, 1 = running, 2 = stopping | |||||
size
|
Long | Y | total number of units of work | |||||
progress
|
Long | Y | number of units of work already processed | |||||
completion
|
Int | Y | completion percentage | |||||
indeterminate
|
Boolean | Y | if false this task is not able to calculate the size of the elaboration | |||||
concurrent
|
Boolean | Y | if true this task supports concurrent executions | |||||
enabled
|
Boolean | Y | if true this task is enabled and available for execution |
enables a task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
disables a task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
gets the log file of a given task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
DataHandler | Y |
starts a task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
gracefully stops a task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |