List of usage examples for org.apache.commons.scxml TriggerEvent getName
public String getName()
From source file:com.headstrong.fusion.statemachine.SCXMLStateMachine.java
public void triggerEvent(Event event) throws StateEventException { TriggerEvent triggerEvent = new TriggerEvent(event.getName(), TriggerEvent.SIGNAL_EVENT); // send the event try {//from ww w . j av a 2 s. c o m scxmlExecutor.triggerEvent(triggerEvent); } catch (ModelException e) { logger.error( "Error sending trigger Event" + triggerEvent.getName() + " to state machine " + this.getId()); throw new StateEventException("Error sending trigger Event to the state machine", e); } }