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

ПараметрОписание
taskTask in xml format

RemoveTask

Method

Remove the task

Parameters

ПараметрОписание
idId of task

GetTaskInfo

Method

Get info of the task

Parameters

ПараметрОписание
idId of task

Returns: Info of the task

GetTaskInfo

Method

Get info of the task

Parameters

ПараметрОписание
projectPathPath to task project

Returns: Info of the task

StopTask

Method

Stop the task

Parameters

ПараметрОписание
idId of task

InterruptTask

Method

Interrupt the task

Parameters

ПараметрОписание
idId of task

StartTask

Method

Start the task

Parameters

ПараметрОписание
idId of task

AddTries

Method

Add tries to the task

Parameters

ПараметрОписание
idId of task
countCount of tries

SetTries

Method

Set tries to the task

Parameters

ПараметрОписание
idId of task
countCount of tries

SetMaxThreads

Method

Set max threads to the task

Parameters

ПараметрОписание
idId of task
countMax count of threads

ClearSucces

Method

Clear success count of the task

Parameters

ПараметрОписание
idId of task

ClearFails

Method

Clear fail count of the task

Parameters

ПараметрОписание
idId of task

SetExecutionSettings

Method

Set the execution settings

Parameters

ПараметрОписание
idId of task
executionSettingsSettings in xml format

SetSchedulerSettings

Method

Set the scheduler settings

Parameters

ПараметрОписание
idId of task
schedulerSettingsSettings in xml format

ExportInputSettings

Method

Export input settings

Parameters

ПараметрОписание
idId of task

ImportInputSettings

Method

Import input settings

Parameters

ПараметрОписание
idId of task
sourceSettings in xml format

StopTaskByName

Method

Stop the task

Parameters

ПараметрОписание
nameName of task

InterruptTaskByName

Method

Interrupt the task

Parameters

ПараметрОписание
nameName of task

StartTaskByName

Method

Start the task

Parameters

ПараметрОписание
nameName of task

AddTriesByName

Method

Add tries to the task

Parameters

ПараметрОписание
nameName of task
countCount of tries

SetTriesByName

Method

Set tries to the task

Parameters

ПараметрОписание
nameName of task
countCount of tries

SetMaxThreadsByName

Method

Set max threads to the task

Parameters

ПараметрОписание
nameName of task
countMax count of threads

ClearSuccesByName

Method

Clear success count of the task

Parameters

ПараметрОписание
nameName of task

ClearFailsByName

Method

Clear fails count of the task

Parameters

ПараметрОписание
nameName of task

SetExecutionSettingsByName

Method

Set the execution settings

Parameters

ПараметрОписание
nameName of task
executionSettingsSettings in xml format

SetSchedulerSettingsByName

Method

Set the scheduler settings

Parameters

ПараметрОписание
nameName of task
schedulerSettingsSettings in xml format

GetThreadsCount

Method

Get count of threads for the task by task name

Parameters

ПараметрОписание
nameName of a task

Returns: Count of threads

GetThreadsCount

Method

Get count of threads for the task by task id

Parameters

ПараметрОписание
idId of a task

Returns: Count of threads