クラス 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の取得voidlog(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface rule) エラーLog の吐き出しvoidLogRecordのログ出力voidsetConnectDB(String connDB, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) コネクションDBの設定voidsetRuleSql(String sql, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) SQLの設定intshowConfirmDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) 確認ダイアログの表示voidshowErrorDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) エラーダイアログ表示voidshowInfomationDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) 情報ダイアログの表示voidshowWarningDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) 警告ダイアログの表示voidwriteErrorLog(String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) エラーログを出力するvoidwriteLog(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass) エラーログを出力voidwriteTraceLog(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.ILogicClassDelegateSQLの設定- 定義:
setRuleSqlインタフェース内jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
-
getRuleSql
インタフェースからコピーされた説明:jp.ne.mki.wedge.run.interfaces.ILogicClassDelegateSQLの取得- 定義:
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
-