クラス StartOutsideExecuteFile

すべての実装されたインタフェース:
CommonInterface, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface

public class StartOutsideExecuteFile extends AbstractCommon

他の.exe,.bat,.shファイルを実行


他の実行ファイルを実行します。

[I/O RECORD]

InputRecord OutputRecord
  1. 引数(省略可能)

[RULE PARAMETER]

Parameter 実行文字列
(例:
C:/windows/explorer.exe
C:/windows/System32/mspaint.exe C:/aaa.bmp
)
バージョン:
1.0
  • コンストラクタの詳細

    • StartOutsideExecuteFile

      public StartOutsideExecuteFile()
  • メソッドの詳細

    • execute

      public int execute() throws Exception
      処理を実行します。
      戻り値:
       int BusinessRuleの戻り値を参照
      例外:
      Exception
    • getIOParameter

      public int getIOParameter()
      IOパラメータ取得。execute の前に実行される。
      戻り値:
      int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)
    • exit

      public void exit()
      終了処理。保持していた変数などを開放する処理を記述します。
      execute の後に実行されます。
      正常終了・異常終了などに関わらず必ず実行されます。