Package com.sap.cds.services.mt
Interface DependenciesEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic DependenciesEventContextcreate()Creates anEventContextalready overlayed with this interface.Returns a list of dependencies required by this application.Returns theService(Consumption API) of the service, targeted by theEventContext.voidReturns a list of dependencies required by this application.Methods inherited from interface com.sap.cds.services.EventContext
as, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, proceed, put, setCompleted
-
Method Details
-
create
Creates anEventContextalready overlayed with this interface. The event is set to beDeploymentService.EVENT_DEPENDENCIES- Returns:
- the
DependenciesEventContext
-
getService
DeploymentService getService()Description copied from interface:EventContextReturns theService(Consumption API) of the service, targeted by theEventContext. This is the service, on which theService.emit(EventContext)method (or specialized Consumption API) was called.- Specified by:
getServicein interfaceEventContext- Returns:
- the
Service(Consumption API) of the service, targeted by theEventContext.
-
getResult
Returns a list of dependencies required by this application. When reporting dependencies to SaaS Registry consider wrapping theMapwithSaasRegistryDependency, as a type-safe alternative.- Returns:
- the list of required dependencies
-
setResult
Returns a list of dependencies required by this application. When reporting dependencies to SaaS Registry consider wrapping theMapwithSaasRegistryDependency, as a type-safe alternative.- Parameters:
dependencies- the list of required dependencies
-