C# 클래스 LaunchPad.Services.JobServices

상속: IDisposable
파일 보기 프로젝트 열기: michaelburns/LaunchPad 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
JobServices ( ) : System
JobServices ( IScriptRepository scriptRepository ) : System
LaunchScript ( string name, Script script ) : void
LaunchScriptWithParams ( string name, PowerShellParam psParam ) : void
RecurringOptions ( ) : IEnumerable
RunOnSchedule ( int id, string name, string recurring, string>.Dictionary psParams ) : void
SaveResults ( string scriptName, IEnumerable results ) : void
Schedule ( Script script, PowerShellSchedule schedule, string username ) : void
UpdateJob ( string id, Status status, string outcome = null, string scriptName = null ) : void
UpdateJobStatus ( Job job, Status status, string outcome = null ) : void

비공개 메소드들

메소드 설명
Run ( string name ) : void
Run ( string name, string>.Dictionary psParams ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

JobServices() 공개 메소드

public JobServices ( ) : System
리턴 System

JobServices() 공개 메소드

public JobServices ( IScriptRepository scriptRepository ) : System
scriptRepository IScriptRepository
리턴 System

LaunchScript() 공개 메소드

public LaunchScript ( string name, Script script ) : void
name string
script Script
리턴 void

LaunchScriptWithParams() 공개 메소드

public LaunchScriptWithParams ( string name, PowerShellParam psParam ) : void
name string
psParam LaunchPad.ViewModels.PowerShellParam
리턴 void

RecurringOptions() 공개 정적인 메소드

public static RecurringOptions ( ) : IEnumerable
리턴 IEnumerable

RunOnSchedule() 공개 메소드

public RunOnSchedule ( int id, string name, string recurring, string>.Dictionary psParams ) : void
id int
name string
recurring string
psParams string>.Dictionary
리턴 void

SaveResults() 공개 메소드

public SaveResults ( string scriptName, IEnumerable results ) : void
scriptName string
results IEnumerable
리턴 void

Schedule() 공개 메소드

public Schedule ( Script script, PowerShellSchedule schedule, string username ) : void
script Script
schedule LaunchPad.ViewModels.PowerShellSchedule
username string
리턴 void

UpdateJob() 공개 메소드

public UpdateJob ( string id, Status status, string outcome = null, string scriptName = null ) : void
id string
status Status
outcome string
scriptName string
리턴 void

UpdateJobStatus() 공개 메소드

public UpdateJobStatus ( Job job, Status status, string outcome = null ) : void
job LaunchPad.Models.Job
status Status
outcome string
리턴 void