クラス 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
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) トレースログを出力する
-
コンストラクタの詳細
-
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
-- 関連項目:
-
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
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
インタフェースからコピーされた説明:jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
SQLの設定- 定義:
setRuleSql
インタフェース内jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
-
getRuleSql
インタフェースからコピーされた説明:jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
SQLの取得- 定義:
getRuleSql
インタフェース内jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
-
getConnectDB
インタフェースからコピーされた説明:jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
コネクションDBの取得- 定義:
getConnectDB
インタフェース内jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
-