Package com.ebasetech.xi.api
Interface EventContext
- All Known Subinterfaces:
 WebFormEventContext
public interface EventContext
Provides context information about an Ebase event.
- Since:
 - V4.4
 
- 
Method Summary
Modifier and Type Method Description java.lang.StringgetEventDescription()Returns a description of the event currently being executed.EventOwnergetOwner()Returns the object that owns the event currently being executed.voidstopExecution()Immediately stops processing of the current script and the current event. 
- 
Method Details
- 
getOwner
EventOwner getOwner()Returns the object that owns the event currently being executed. This will be one of:IntegrationServicefor all Integration Service EventsWorkflowJobfor all workflow events including the execution of System Activities and Decision and Pause nodes
- Returns:
 - event owner objects
 - Since:
 - V4.4
 
 - 
getEventDescription
java.lang.String getEventDescription()Returns a description of the event currently being executed.- Since:
 - V4.4
 
 - 
stopExecution
void stopExecution()Immediately stops processing of the current script and the current event. No further script statements are executed, and when executing a web form the current page is displayed to the user. This function cannot be called from a Before Form event;- Since:
 - V4.4
 - See Also:
 MessageContainer.addErrorMessage(String, boolean)
 
 -