setEvent
setEvent(event)
La méthode setEvent définit le nom de l'événement utilisé par la commande postEvent.
*
event — Chaîne contenant le nom de l'événement.
*
Le nom de event doit correspondre exactement au nom de l'événement défini dans le canal interactif. Ce nom est sensible à la casse.
Valeur de retour
Aucune.
Exemple
L'exemple suivant est un extrait d'une méthode executeBatch appelant postEvent.
String eventName = "SearchExecution";

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