PSEC - Powershell Enhanced Capability
Version 1.2.1

TaskExec Class extends Task (src: flow-task-logic.psm1)

Description

desc tbd

Details

details tbd

Method Index

createRgtPanel Creates the initial right hand panel.

fetchOptions not-described

fetchTaskParams not-described

formatJavaClassViewGrid not-described

formatParamViewGrid not-described

formatParms not-described

formatTaskViewGrid not-described

getBriefFile not-described

loadBriefFile not-described

log not-described

markManualTaskStatus not-described

populateBriefGrid not-described

refreshRgtPanel not-described

runGenericTask not-described

runJavaPgm not-described

runJavaTask not-described

runScriptTask not-described

runTaskMain This runs the Task using the runner passed in.

runTaskOptionProgram not-described

setDerivedFlags Second look at setting the Run status flags with consideration for prior task flags.

setPrimaryFlags First pass at setting the Run status flags.

statFlag not-described

statFlag not-described

statGood not-described

statWarn not-described

stowBriefFile not-described

updateDependencyTree The method updates the dependency tree.

updatePriorTask Updates the PriorTask which requires inspection of the whenFail flag.

updateStatusLine Update status line in right hand panel

viewRunTaskLog not-described


createRgtPanel Method index (src: flow-task-logic.psm1)

Signature

[void] createRgtPanel ( [Flow]$flow, [Panel]$panLft, [Panel]$panRgt)

Parameters

Parameter Format Description

$flow Flow Flow reference pointer

$panLft Panel parm description missing

$panRgt Panel parm description missing

Description

Creates the initial right hand panel.

Notes

This sets marker fields used elsewhere and should be run early in the work flow creation.


fetchOptions Method index (src: flow-task-logic.psm1)

Signature

[Object[]] fetchOptions ()

Empty

markdown text missing


fetchTaskParams Method index (src: flow-task-logic.psm1)

Signature

[hashtable] fetchTaskParams ()

Empty

markdown text missing


formatJavaClassViewGrid Method index (src: flow-task-logic.psm1)

Signature

[hashtable] formatJavaClassViewGrid ( [Flow]$flow, [Object]$ctx, [Windows.Forms.DataGridView]$dgv, [Area]$par)

Parameters

Parameter Format Description

$flow Flow Flow reference pointer

$ctx Object parm description missing

$dgv Windows.Forms.DataGridView subject DataGridView

$par Area Parent panel (container)

Empty

markdown text missing


formatParamViewGrid Method index (src: flow-task-logic.psm1)

Signature

[hashtable] formatParamViewGrid ( [Flow]$flow, [Object]$ctx, [Windows.Forms.DataGridView]$dgv, [Area]$par)

Parameters

Parameter Format Description

$flow Flow Flow reference pointer

$ctx Object parm description missing

$dgv Windows.Forms.DataGridView subject DataGridView

$par Area Parent panel (container)

Empty

markdown text missing


formatParms Method index (src: flow-task-logic.psm1)

Signature

[Object[]] formatParms ( [hashTable]$runParms)

Parameters

Parameter Format Description

$runParms hashTable parm description missing

Empty

markdown text missing


formatTaskViewGrid Method index (src: flow-task-logic.psm1)

Signature

[hashtable] formatTaskViewGrid ( [Flow]$flow, [Object]$ctx, [Windows.Forms.DataGridView]$dgv, [Area]$par)

Parameters

Parameter Format Description

$flow Flow Flow reference pointer

$ctx Object parm description missing

$dgv Windows.Forms.DataGridView subject DataGridView

$par Area Parent panel (container)

Empty

markdown text missing


getBriefFile Method index (src: flow-task-logic.psm1)

Signature

[hashtable] getBriefFile ()

Empty

markdown text missing


loadBriefFile Method index (src: flow-task-logic.psm1)

Signature

[hashtable] loadBriefFile ()

Empty

markdown text missing


log Method index (src: flow-task-logic.psm1)

Signature

[void] log ( [string]$msg)

Parameters

Parameter Format Description

$msg string parm description missing

Empty

markdown text missing


markManualTaskStatus Method index (src: flow-task-logic.psm1)

Signature

[void] markManualTaskStatus ( [boolean]$updateTree)

Parameters

Parameter Format Description

$updateTree boolean parm description missing

Empty

markdown text missing


populateBriefGrid Method index (src: flow-task-logic.psm1)

Signature

[void] populateBriefGrid ( [boolean]$bInitial)

Parameters

Parameter Format Description

$bInitial boolean parm description missing

Empty

markdown text missing


refreshRgtPanel Method index (src: flow-task-logic.psm1)

Signature

[void] refreshRgtPanel ()

Empty

markdown text missing


runGenericTask Method index (src: flow-task-logic.psm1)

Signature

[void] runGenericTask ( [PSMethod]$runner)

Parameters

Parameter Format Description

$runner PSMethod parm description missing

Empty

markdown text missing


runJavaPgm Method index (src: flow-task-logic.psm1)

Signature

[string] runJavaPgm ( [hashtable]$parmsHT)

Parameters

Parameter Format Description

$parmsHT hashtable parm description missing

Empty

markdown text missing


runJavaTask Method index (src: flow-task-logic.psm1)

Signature

[RunDone] runJavaTask ( [RunDone]$runDone)

Parameters

Parameter Format Description

$runDone RunDone parm description missing

Empty

markdown text missing


runScriptTask Method index (src: flow-task-logic.psm1)

Signature

[RunDone] runScriptTask ( [RunDone]$runDone)

Parameters

Parameter Format Description

$runDone RunDone parm description missing

Empty

markdown text missing


runTaskMain Method index (src: flow-task-logic.psm1)

Signature

[string] runTaskMain ( [PSMethod]$runner)

Parameters

Parameter Format Description

$runner PSMethod parm description missing

Description

This runs the Task using the runner passed in.

Details

This is the guts of the whole system. It executes the task depending on the task type. All output is directed to a string for creation of the log file and the status for the task is updated (Brief file).

Notes

For cyclic tasks (whenCycle ne null) previous cycle are merged into the results. Cyclic tasks are not fully implemented.


runTaskOptionProgram Method index (src: flow-task-logic.psm1)

Signature

[void] runTaskOptionProgram ( [string]$name)

Parameters

Parameter Format Description

$name string name to lookup

Empty

markdown text missing


setDerivedFlags Method index (src: flow-task-logic.psm1)

Signature

[int64] setDerivedFlags ( [int64]$maxTS)

Parameters

Parameter Format Description

$maxTS int64 parm description missing

Description

Second look at setting the Run status flags with consideration for prior task flags.


setPrimaryFlags Method index (src: flow-task-logic.psm1)

Signature

[void] setPrimaryFlags ()

Description

First pass at setting the Run status flags.

Notes

Earlier versions had the notion of Cycles. This has been removed from this version. Some Task flags exist which never get set.


statFlag Method index (src: flow-task-logic.psm1)

Signature

[void] statFlag ( [string]$statMsg)

Parameters

Parameter Format Description

$statMsg string parm description missing

Empty

markdown text missing


statFlag Method index (src: flow-task-logic.psm1)

Signature

[void] statFlag ( [string]$statMsg, [boolean]$bBroken)

Parameters

Parameter Format Description

$statMsg string parm description missing

$bBroken boolean parm description missing

Empty

markdown text missing


statGood Method index (src: flow-task-logic.psm1)

Signature

[void] statGood ( [string]$statMsg)

Parameters

Parameter Format Description

$statMsg string parm description missing

Empty

markdown text missing


statWarn Method index (src: flow-task-logic.psm1)

Signature

[void] statWarn ( [string]$statMsg)

Parameters

Parameter Format Description

$statMsg string parm description missing

Empty

markdown text missing


stowBriefFile Method index (src: flow-task-logic.psm1)

Signature

[void] stowBriefFile ( [hashtable]$statHT)

Parameters

Parameter Format Description

$statHT hashtable parm description missing

Empty

markdown text missing


updateDependencyTree Method index (src: flow-task-logic.psm1)

Signature

[void] updateDependencyTree ( [boolean]$bInitial)

Parameters

Parameter Format Description

$bInitial boolean parm description missing

Description

The method updates the dependency tree.


updatePriorTask Method index (src: flow-task-logic.psm1)

Signature

[void] updatePriorTask ( [object]$wrap)

Parameters

Parameter Format Description

$wrap object parm description missing

Description

Updates the PriorTask which requires inspection of the whenFail flag.

Notes

The wrapper object varies on context (CfgFlow and Flow). As long as the wrapper has the requited fields, Powershell can handle it.


updateStatusLine Method index (src: flow-task-logic.psm1)

Signature

[void] updateStatusLine ( [hashtable]$brf)

Parameters

Parameter Format Description

$brf hashtable parm description missing

Description

Update status line in right hand panel

Notes

This has to be run after the status fields of the Task are set.


viewRunTaskLog Method index (src: flow-task-logic.psm1)

Signature

[void] viewRunTaskLog ()

Empty

markdown text missing

PSEC - Powershell Enhanced Capability
1.2.1

Copyright © 2018-2021, 2022, Rexcel System Inc.

 

 

 

 

 

X