Package com.sap.cds.services.mt
Interface MtSubscribeEventContext
- All Superinterfaces:
EventContext
Deprecated.
The
EventContext
used for the MtSubscriptionService.EVENT_SUBSCRIBE
event.-
Method Summary
Modifier and TypeMethodDescriptionstatic MtSubscribeEventContext
create()
Deprecated.Creates anEventContext
already overlayed with this interface.com.sap.xsa.core.instancemanager.client.InstanceCreationOptions
Deprecated.Deprecated.Deprecated.com.sap.cloud.mt.subscription.json.SubscriptionPayload
Deprecated.Deprecated.void
setInstanceCreationOptions
(com.sap.xsa.core.instancemanager.client.InstanceCreationOptions options) Deprecated.void
Deprecated.void
setSubscriptionPayload
(com.sap.cloud.mt.subscription.json.SubscriptionPayload payload) Deprecated.void
setTenantId
(String tenantId) 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_SUBSCRIBE
- Returns:
- the
MtSubscribeEventContext
-
getService
MtSubscriptionService getService()Deprecated.- Specified by:
getService
in interfaceEventContext
-
getSubscriptionPayload
com.sap.cloud.mt.subscription.json.SubscriptionPayload getSubscriptionPayload()Deprecated.- Returns:
- the payload to subscribe the tenant
-
setSubscriptionPayload
void setSubscriptionPayload(com.sap.cloud.mt.subscription.json.SubscriptionPayload payload) Deprecated.- Parameters:
payload
- the payload to subscribe the tenant
-
getTenantId
String getTenantId()Deprecated.- Returns:
- the tenant ID to subscribe
-
setTenantId
Deprecated.- Parameters:
tenantId
- the tenant ID to subscribe
-
getResult
String getResult()Deprecated.- Returns:
- the callback URL of the SaaS Registry
-
setResult
Deprecated.- Parameters:
url
- the callback URL of the SaaS Registry
-
getInstanceCreationOptions
com.sap.xsa.core.instancemanager.client.InstanceCreationOptions getInstanceCreationOptions()Deprecated.- Returns:
- the options when creating a new Database instance
-
setInstanceCreationOptions
void setInstanceCreationOptions(com.sap.xsa.core.instancemanager.client.InstanceCreationOptions options) Deprecated.- Parameters:
options
- the options when creating a new Database instance
-
DeploymentService.subscribe(String, java.util.Map)
andSubscribeEventContext
instead.