クラス ClientLogicClassDelegate

java.lang.Object
jp.ne.mki.wedge.pub.client.logicclass.ClientLogicClassDelegate
すべての実装されたインタフェース:
jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate

public class ClientLogicClassDelegate extends Object implements jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate

Client用EngineManagerInterface経由での委譲クラス

EngineManagerInterface経由でログ出力を行います。
ダイアログ表示の場合は StandardDialog を用いてダイアログを表示します。

導入されたバージョン:
ver1.3.0
  • コンストラクタの概要

    コンストラクタ
    コンストラクタ
    説明
     
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    getConnectDB(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    コネクションDBの取得
    getRuleSql(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    SQLの取得
    void
    log(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface rule)
    エラーLog の吐き出し
    void
    log(LogRecord record)
    LogRecordのログ出力
    void
    setConnectDB(String connDB, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    コネクションDBの設定
    void
    setRuleSql(String sql, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    SQLの設定
    int
    showConfirmDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    確認ダイアログの表示
    void
    showErrorDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    エラーダイアログ表示
    void
    showInfomationDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    情報ダイアログの表示
    void
    showWarningDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    警告ダイアログの表示
    void
    writeErrorLog(String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    エラーログを出力する
    void
    writeLog(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    エラーログを出力
    void
    writeTraceLog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    トレースログを出力する

    クラスから継承されたメソッド java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • コンストラクタの詳細

    • ClientLogicClassDelegate

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

    • showErrorDialog

      public void showErrorDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      エラーダイアログ表示

      実行Managerの設定がない場合には処理は行いません。

      定義:
      showErrorDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
    • showInfomationDialog

      public void showInfomationDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      情報ダイアログの表示

      実行Managerの設定がない場合には処理は行いません。

      定義:
      showInfomationDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
    • showWarningDialog

      public void showWarningDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      警告ダイアログの表示

      実行Managerの設定がない場合には処理は行いません。

      定義:
      showWarningDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
    • showConfirmDialog

      public int showConfirmDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      確認ダイアログの表示

      実行Managerの設定がない場合には処理は行いません。

      定義:
      showConfirmDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
      戻り値:
      result ユーザが選択したオプションを示す整数
    • writeErrorLog

      public void writeErrorLog(String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      エラーログを出力する

      WARNINGにてログ出力 とともに、FrameRunnerに対してエラーステータスの設定、 エラーダイアログの表示 も行います。

      定義:
      writeErrorLog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      th -
      logicClass -
      関連項目:
      • FrameRunnerInterface.setErrorStatus(String)
    • writeTraceLog

      public void writeTraceLog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      トレースログを出力する
      定義:
      writeTraceLog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
    • log

      public void log(LogRecord record)
      LogRecordのログ出力
      定義:
      log インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      record -
    • log

      public void log(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface rule)
      エラーLog の吐き出し

      LogicLogRecord (ロジッククラスのインスタンスが取得できるLogRecord)にてログ出力します。

      パラメータ:
      level -
      message -
      th -
      rule -
    • writeLog

      public void writeLog(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      エラーログを出力

      先頭にクラス名を追加して、ログ出力します。
      クラス名の付与なしで、単純にログ出力したい場合には log メソッドを使用してください。

      定義:
      writeLog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      level -
      message -
      th -
      logicClass -
    • setConnectDB

      public void setConnectDB(String connDB, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      インタフェースからコピーされた説明: jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      コネクションDBの設定
      定義:
      setConnectDB インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
    • setRuleSql

      public void setRuleSql(String sql, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      インタフェースからコピーされた説明: jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      SQLの設定
      定義:
      setRuleSql インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
    • getRuleSql

      public String getRuleSql(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      インタフェースからコピーされた説明: jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      SQLの取得
      定義:
      getRuleSql インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
    • getConnectDB

      public String getConnectDB(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      インタフェースからコピーされた説明: jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      コネクションDBの取得
      定義:
      getConnectDB インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate