Index | Method | Request(s) | Response | Description | ||||
---|---|---|---|---|---|---|---|---|
1 | start |
sid name |
starts a task | |||||
2 | stop |
sid name |
gracefully stops a task | |||||
3 | disable |
sid name |
disables a task | |||||
4 | enable |
sid name |
enables a task | |||||
5 | listTasks |
sid |
task | list of all available tasks | ||||
6 | getLog |
sid name |
gets the log file of a given task | |||||
7 | getTask |
sid name |
task | gets a specific task |
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 |
disables a task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
enables a task
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
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 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 |
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 |