パッケージ org.iplass.mtp.runtime
インタフェース Runner
public interface Runner
EntryPointからiPLAss内でロジックを実行するためのインタフェースです。
-
メソッドの概要
修飾子とタイプメソッド説明voidロジックを実行します。run(String commandName, RequestContext request) CommandInvokerを経由して指定のcommandNameのCommandを実行します。<T> Tロジックを実行します。withAuth(Credential credential) 指定のcredentialでログインしてロジックを実行するよう設定します。指定の言語でロジックを実行するよう設定します。withTenant(Integer tenantId) 指定のテナントIDでロジックを実行するよう設定します。withTenant(String tenantUrl) 指定のテナントURLでロジックを実行するよう設定します。
-
メソッドの詳細
-
withTenant
指定のテナントURLでロジックを実行するよう設定します。- パラメータ:
tenantUrl-- 戻り値:
-
withTenant
指定のテナントIDでロジックを実行するよう設定します。- パラメータ:
tenantId-- 戻り値:
-
withAuth
指定のcredentialでログインしてロジックを実行するよう設定します。- パラメータ:
credential-- 戻り値:
-
withLang
指定の言語でロジックを実行するよう設定します。- パラメータ:
lang-- 戻り値:
-
run
ロジックを実行します。- パラメータ:
r-
-
run
ロジックを実行します。- パラメータ:
s-- 戻り値:
-
run
CommandInvokerを経由して指定のcommandNameのCommandを実行します。- パラメータ:
commandName-request-- 戻り値:
-