C# 클래스 sos.spooler.PowershellAdapter

상속: ScriptAdapter
파일 보기 프로젝트 열기: sos-berlin/scheduler-engine

공개 메소드들

메소드 설명
PowershellAdapter ( System.Log contextLog, Task contextTask, Job contextJob, Spooler contextSpooler, String scriptContent ) : System
spooler_close ( ) : void
spooler_exit ( ) : void
spooler_init ( ) : bool
spooler_on_error ( ) : void
spooler_on_success ( ) : void
spooler_open ( ) : bool
spooler_process ( ) : bool
spooler_process_after ( bool spoolerProcessResult ) : bool
spooler_process_before ( ) : bool
spooler_task_after ( ) : void
spooler_task_before ( ) : bool

비공개 메소드들

메소드 설명
CheckLastExitCode ( bool useLocalScope ) : void
Close ( ) : void
GetErrorMessage ( ErrorRecord errorRecord ) : string
GetReturnValue ( string result, bool defaultValue ) : bool
InitializeScript ( bool useLocalScope ) : void
InvokeCommand ( String command, bool useLocalScope ) : IEnumerable
InvokeFunction ( String functionName, bool param = null ) : string
InvokeScript ( String command, bool useLocalScope ) : string
ParseScript ( ) : void

메소드 상세

PowershellAdapter() 공개 메소드

public PowershellAdapter ( System.Log contextLog, Task contextTask, Job contextJob, Spooler contextSpooler, String scriptContent ) : System
contextLog System.Log
contextTask Task
contextJob Job
contextSpooler Spooler
scriptContent String
리턴 System

spooler_close() 공개 메소드

public spooler_close ( ) : void
리턴 void

spooler_exit() 공개 메소드

public spooler_exit ( ) : void
리턴 void

spooler_init() 공개 메소드

public spooler_init ( ) : bool
리턴 bool

spooler_on_error() 공개 메소드

public spooler_on_error ( ) : void
리턴 void

spooler_on_success() 공개 메소드

public spooler_on_success ( ) : void
리턴 void

spooler_open() 공개 메소드

public spooler_open ( ) : bool
리턴 bool

spooler_process() 공개 메소드

public spooler_process ( ) : bool
리턴 bool

spooler_process_after() 공개 메소드

public spooler_process_after ( bool spoolerProcessResult ) : bool
spoolerProcessResult bool
리턴 bool

spooler_process_before() 공개 메소드

public spooler_process_before ( ) : bool
리턴 bool

spooler_task_after() 공개 메소드

public spooler_task_after ( ) : void
리턴 void

spooler_task_before() 공개 메소드

public spooler_task_before ( ) : bool
리턴 bool