C# Class Dev2.Scheduler.ScheduledResourceModel

Inheritance: IScheduledResourceModel
Afficher le fichier Open project: Warewolf-ESB/Warewolf

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

CreateHistory() public méthode

public CreateHistory ( IScheduledResource resource ) : IList
resource IScheduledResource
Résultat IList

DeleteSchedule() public méthode

public DeleteSchedule ( IScheduledResource resource ) : void
resource IScheduledResource
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetScheduledResources() public méthode

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
Résultat ObservableCollection

Save() public méthode

public Save ( IScheduledResource resource, string &errorMessage ) : bool
resource IScheduledResource
errorMessage string
Résultat bool

Save() public méthode

public Save ( IScheduledResource resource, string userName, string password ) : void
resource IScheduledResource
userName string
password string
Résultat void

ScheduledResourceModel() public méthode

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
Résultat System