C# Class Tmx.Server.Logic.ObjectModel.TaskSelector

Description of TaskSelector.
Inheritance: ITaskSelector
Mostra file Open project: apetrovskiy/STUPS

Public Methods

Method Description
CancelFurtherTasksOfTestClient ( System.Guid clientId ) : void
CancelFurtherTasksOfTestRun ( System.Guid testRunId ) : void
GetFirstLegitimateTask ( System.Guid clientId ) : ITestTask
GetNextLegitimateTask ( System.Guid clientId, int currentTaskId ) : ITestTask
SelectTasksForClient ( System.Guid clientId, List tasks ) : List

Private Methods

Method Description
AddTasksForEveryClient ( IEnumerable activeWorkflowsTasks, System.Guid testRunId ) : void
GetOnlyNewTestTasksForClient ( System.Guid clientId ) : IEnumerable
IsItTimeToPublishTask ( ITestTask task ) : bool

Method Details

CancelFurtherTasksOfTestClient() public method

public CancelFurtherTasksOfTestClient ( System.Guid clientId ) : void
clientId System.Guid
return void

CancelFurtherTasksOfTestRun() public method

public CancelFurtherTasksOfTestRun ( System.Guid testRunId ) : void
testRunId System.Guid
return void

GetFirstLegitimateTask() public method

public GetFirstLegitimateTask ( System.Guid clientId ) : ITestTask
clientId System.Guid
return ITestTask

GetNextLegitimateTask() public method

public GetNextLegitimateTask ( System.Guid clientId, int currentTaskId ) : ITestTask
clientId System.Guid
currentTaskId int
return ITestTask

SelectTasksForClient() public method

public SelectTasksForClient ( System.Guid clientId, List tasks ) : List
clientId System.Guid
tasks List
return List