Package com.sap.cds.services.mt
Interface ModelChangedEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelChangedEventContextcreate()Creates anEventContextalready overlayed with this interface.voidsetTimestamp(Long timestamp) Sets the optional timestamp of the model changeMethods inherited from interface com.sap.cds.services.EventContext
as, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getService, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, proceed, put, setCompleted
-
Method Details
-
create
Creates anEventContextalready overlayed with this interface. The event is set to beExtensibilityService.EVENT_MODEL_CHANGED- Returns:
- the
ModelChangedEventContext
-
setTimestamp
Sets the optional timestamp of the model change- Parameters:
timestamp- The timestamp of the model change in epoch time
-
getTimestamp
Long getTimestamp()- Returns:
- The timestamp of the model change in epoch time or
nullif no timestamp was specified
-