public interface DraftGcEventContext extends EventContext
EventContext
for the DraftService.EVENT_DRAFT_GC
event.Modifier and Type | Method and Description |
---|---|
static DraftGcEventContext |
create()
Creates an
EventContext already overlayed with this interface. |
com.sap.cds.Result |
getResult() |
DraftService |
getService()
Returns the
Service (Consumption API) of the service, targeted by the EventContext . |
void |
setResult(com.sap.cds.Result result) |
as, create, create, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompleted
static DraftGcEventContext create()
EventContext
already overlayed with this interface. The event is set to be DraftService.EVENT_DRAFT_GC
DraftGcEventContext
DraftService getService()
EventContext
Service
(Consumption API) of the service, targeted by the EventContext
.
This is the service, on which the Service.emit(EventContext)
method (or specialized Consumption API) was called.getService
in interface EventContext
Service
(Consumption API) of the service, targeted by the EventContext
.com.sap.cds.Result getResult()
void setResult(com.sap.cds.Result result)
Copyright © 2022. All rights reserved.