setInteractiveChannel

setInteractiveChannel メソッドは、startSession コマンドで使用する対話式チャネルの名前を定義します。

setInteractiveChannel(interactiveChannel)
  • interactiveChannel - 対話式チャネル名を含む文字列。
重要: interactiveChannel は、Campaign で定義されている対話式チャネルの名前と正確に一致する必要があります。大/小文字の区別があります。

戻り値

なし。

以下の例は、startSession を呼び出す executeBatch メソッドからの抜粋です。

String interactiveChannel="Accounts Website";
. . .
Command startSessionCommand = new CommandImpl();
startSessionCommand.setInteractiveChannel(interactiveChannel);