Package com.sap.cds.services.mt
Interface ModelChangedEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelChangedEventContext
create()
Creates anEventContext
already overlayed with this interface.void
setTimestamp
(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 anEventContext
already 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
null
if no timestamp was specified
-