Package com.sap.cds.services.mt
Interface MtDeployEventContext
- All Superinterfaces:
EventContext
Deprecated.
The
EventContext
used for the MtSubscriptionService.EVENT_DEPLOY
event.-
Method Summary
Modifier and TypeMethodDescriptionstatic MtDeployEventContext
create()
Deprecated.Creates anEventContext
already overlayed with this interface.Deprecated.com.sap.cloud.mt.subscription.json.SidecarUpgradePayload
Deprecated.void
setUpgradePayload
(com.sap.cloud.mt.subscription.json.SidecarUpgradePayload payload) Deprecated.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
Deprecated.Creates anEventContext
already overlayed with this interface. The event is set to beMtSubscriptionService.EVENT_DEPLOY
- Returns:
- the
MtDeployEventContext
-
getService
MtSubscriptionService getService()Deprecated.- Specified by:
getService
in interfaceEventContext
-
getUpgradePayload
com.sap.cloud.mt.subscription.json.SidecarUpgradePayload getUpgradePayload()Deprecated.- Returns:
- the payload to trigger updating individual tenants by specifying tenants individually or "all" to update all tenants
-
setUpgradePayload
void setUpgradePayload(com.sap.cloud.mt.subscription.json.SidecarUpgradePayload payload) Deprecated.- Parameters:
payload
- the payload to trigger updating individual tenants by specifying tenants individually or "all" to update all tenants
-
DeploymentService.upgrade(java.util.List, java.util.Map)
andUpgradeEventContext
instead.