Documentation
¶
Overview ¶
ジョブネットワークに関連する各種ファイル形式のパース処理パッケージ。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseJobEx ¶
readerから読み込んだ拡張ジョブ定義CSVをパースする。 空のカラムにはゼロ値をセットする。
param : reader ファイルリーダー。
return : 拡張ジョブ情報のパース後Map。
return : エラー情報。
Types ¶
type Definitions ¶
type Definitions struct {
Process []Process `xml:"process"`
}
ネットワーク定義BPMNのdefinitions要素。
type JobEx ¶
type JobEx struct {
Node string // ノード名
Port int // ポート番号
FilePath string // ジョブファイルパス
Param string // 実行時引数
Env string // 実行時環境変数
Workspace string // 作業フォルダ
WrnRC int // 警告終了判断に使用するリターンコードの下限値
WrnPtn string // 警告終了と判断する出力文字列
ErrRC int // 異常終了判断に使用するリターンコードの下限値
ErrPtn string // 異常終了と判断する出力文字列
TimeoutMin int // タイムアウト(分)
SecondaryNode string // ノード名
SecondaryPort int // ポート番号
}
拡張ジョブ情報
type ParallelGateway ¶
type ParallelGateway struct {
ID string `xml:"id,attr"`
}
ネットワーク定義BPMNのparallelGateway要素。
type Process ¶
type Process struct {
Start []StartEvent `xml:"startEvent"`
End []EndEvent `xml:"endEvent"`
Task []ServiceTask `xml:"serviceTask"`
Gateway []ParallelGateway `xml:"parallelGateway"`
Flow []SequenceFlow `xml:"sequenceFlow"`
}
ネットワーク定義BPMNのprocess要素。
func ParseNetwork ¶
ネットワーク定義をio.Readerから読み込み、パース結果を返す
func ParseNetworkFile ¶
ネットワーク定義をファイルから読み込み、パース結果を返す
type SequenceFlow ¶
ネットワーク定義BPMNのsequenceFlow要素。
type ServiceTask ¶
ネットワーク定義BPMNのserviceTask要素。
Click to show internal directories.
Click to hide internal directories.