setEvent
setEvent(event)
setEvent メソッドは、postEvent コマンドが使用するイベントの名前を定義します。
*
event - イベント名を含む文字列。
*
event の名前は、対話式チャネルで定義されているイベントの名前と正確に一致する必要があります。大/小文字の区別があります。
戻り値
ありません。
以下の例は、postEvent を呼び出す executeBatch メソッドからの抜粋です。
String eventName = "SearchExecution";

Command postEventCommand = new CommandImpl();
postEventCommand.setMethodIdentifier(Command.COMMAND_POSTEVENT);
postEventCommand.setEventParameters(postEventParameters);
postEventCommand.setEvent(eventName);