ITaskManagerService
Assembly: ZennoLab.InterfacesLibrary
Full name: ZennoLab.InterfacesLibrary.ZennoPoster.ITaskManagerService
Wcf service contract for working with ZennoPoster tasks
Methods
TasksList
Method
Get list of tasks
AddTask
Method
Add the task
Parameters
| Параметр | Описание |
|---|---|
task | Task in xml format |
RemoveTask
Method
Remove the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
GetTaskInfo
Method
Get info of the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
Returns: Info of the task
GetTaskInfo
Method
Get info of the task
Parameters
| Параметр | Описание |
|---|---|
projectPath | Path to task project |
Returns: Info of the task
StopTask
Method
Stop the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
InterruptTask
Method
Interrupt the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
StartTask
Method
Start the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
AddTries
Method
Add tries to the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
count | Count of tries |
SetTries
Method
Set tries to the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
count | Count of tries |
SetMaxThreads
Method
Set max threads to the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
count | Max count of threads |
ClearSucces
Method
Clear success count of the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
ClearFails
Method
Clear fail count of the task
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
SetExecutionSettings
Method
Set the execution settings
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
executionSettings | Settings in xml format |
SetSchedulerSettings
Method
Set the scheduler settings
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
schedulerSettings | Settings in xml format |
ExportInputSettings
Method
Export input settings
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
ImportInputSettings
Method
Import input settings
Parameters
| Параметр | Описание |
|---|---|
id | Id of task |
source | Settings in xml format |
StopTaskByName
Method
Stop the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
InterruptTaskByName
Method
Interrupt the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
StartTaskByName
Method
Start the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
AddTriesByName
Method
Add tries to the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
count | Count of tries |
SetTriesByName
Method
Set tries to the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
count | Count of tries |
SetMaxThreadsByName
Method
Set max threads to the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
count | Max count of threads |
ClearSuccesByName
Method
Clear success count of the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
ClearFailsByName
Method
Clear fails count of the task
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
SetExecutionSettingsByName
Method
Set the execution settings
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
executionSettings | Settings in xml format |
SetSchedulerSettingsByName
Method
Set the scheduler settings
Parameters
| Параметр | Описание |
|---|---|
name | Name of task |
schedulerSettings | Settings in xml format |
GetThreadsCount
Method
Get count of threads for the task by task name
Parameters
| Параметр | Описание |
|---|---|
name | Name of a task |
Returns: Count of threads
GetThreadsCount
Method
Get count of threads for the task by task id
Parameters
| Параметр | Описание |
|---|---|
id | Id of a task |
Returns: Count of threads