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