Package com.sap.cds.services.mt
Interface DependenciesEventContext
- All Superinterfaces:
EventContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic DependenciesEventContext
create()
Creates anEventContext
already overlayed with this interface.Returns a list of dependencies required by this application.Returns theService
(Consumption API) of the service, targeted by theEventContext
.void
Returns 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, put, setCompleted
-
Method Details
-
create
Creates anEventContext
already overlayed with this interface. The event is set to beDeploymentService.EVENT_DEPENDENCIES
- Returns:
- the
DependenciesEventContext
-
getService
DeploymentService getService()Description copied from interface:EventContext
Returns 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:
getService
in 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 theMap
withSaasRegistryDependency
, 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 theMap
withSaasRegistryDependency
, as a type-safe alternative.- Parameters:
dependencies
- the list of required dependencies
-