C# Class sos.spooler.PowershellAdapter

Inheritance: ScriptAdapter
Afficher le fichier Open project: sos-berlin/scheduler-engine

Méthodes publiques

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

Private Methods

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

Method Details

PowershellAdapter() public méthode

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

spooler_close() public méthode

public spooler_close ( ) : void
Résultat void

spooler_exit() public méthode

public spooler_exit ( ) : void
Résultat void

spooler_init() public méthode

public spooler_init ( ) : bool
Résultat bool

spooler_on_error() public méthode

public spooler_on_error ( ) : void
Résultat void

spooler_on_success() public méthode

public spooler_on_success ( ) : void
Résultat void

spooler_open() public méthode

public spooler_open ( ) : bool
Résultat bool

spooler_process() public méthode

public spooler_process ( ) : bool
Résultat bool

spooler_process_after() public méthode

public spooler_process_after ( bool spoolerProcessResult ) : bool
spoolerProcessResult bool
Résultat bool

spooler_process_before() public méthode

public spooler_process_before ( ) : bool
Résultat bool

spooler_task_after() public méthode

public spooler_task_after ( ) : void
Résultat void

spooler_task_before() public méthode

public spooler_task_before ( ) : bool
Résultat bool