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 MtDeployEventContextcreate()Deprecated.Creates anEventContextalready overlayed with this interface.Deprecated.com.sap.cloud.mt.subscription.json.SidecarUpgradePayloadDeprecated.voidsetUpgradePayload(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, proceed, put, setCompleted
-
Method Details
-
create
Deprecated.Creates anEventContextalready overlayed with this interface. The event is set to beMtSubscriptionService.EVENT_DEPLOY- Returns:
- the
MtDeployEventContext
-
getService
MtSubscriptionService getService()Deprecated.- Specified by:
getServicein 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)andUpgradeEventContextinstead.