C# Класс Dev2.Scheduler.ScheduledResourceModel

Наследование: IScheduledResourceModel
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateHistory ( IScheduledResource resource ) : IList
DeleteSchedule ( IScheduledResource resource ) : void
Dispose ( ) : void
GetScheduledResources ( ) : ObservableCollection

Get the list of resource from windows task scheduler where has an action that is an exec action path matches warewolf agent path

Save ( IScheduledResource resource, string &errorMessage ) : bool
Save ( IScheduledResource resource, string userName, string password ) : void
ScheduledResourceModel ( IDev2TaskService taskService, string warewolfFolderId, string warewolfAgentPath, ITaskServiceConvertorFactory taskServiceFactory, string debugHistoryPath, ISecurityWrapper securityWrapper ) : System

Приватные методы

Метод Описание
BuildAction ( IScheduledResource resource ) : IExecAction
CreateDebugHistory ( string debugHistoryPath, string correlationId ) : IList
CreateNewTask ( IScheduledResource resource ) : IDev2TaskDefinition
CreateScheduledResource ( IDev2Task arg ) : IScheduledResource
DebugHasErrors ( string debugHistoryPath, string correlationId ) : bool
DebugHistoryExists ( string debugHistoryPath, string correlationId ) : bool
GetRunStatus ( int eventId, string debugHistoryPath, string key ) : ScheduleRunStatus
GetUserName ( string debugHistoryPath, string correlationId ) : string

Описание методов

CreateHistory() публичный Метод

public CreateHistory ( IScheduledResource resource ) : IList
resource IScheduledResource
Результат IList

DeleteSchedule() публичный Метод

public DeleteSchedule ( IScheduledResource resource ) : void
resource IScheduledResource
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetScheduledResources() публичный Метод

Get the list of resource from windows task scheduler where has an action that is an exec action path matches warewolf agent path
public GetScheduledResources ( ) : ObservableCollection
Результат ObservableCollection

Save() публичный Метод

public Save ( IScheduledResource resource, string &errorMessage ) : bool
resource IScheduledResource
errorMessage string
Результат bool

Save() публичный Метод

public Save ( IScheduledResource resource, string userName, string password ) : void
resource IScheduledResource
userName string
password string
Результат void

ScheduledResourceModel() публичный Метод

public ScheduledResourceModel ( IDev2TaskService taskService, string warewolfFolderId, string warewolfAgentPath, ITaskServiceConvertorFactory taskServiceFactory, string debugHistoryPath, ISecurityWrapper securityWrapper ) : System
taskService IDev2TaskService
warewolfFolderId string
warewolfAgentPath string
taskServiceFactory ITaskServiceConvertorFactory
debugHistoryPath string
securityWrapper ISecurityWrapper
Результат System