public interface MtSubscribeEventContext extends EventContext
EventContext
used for the MtSubscriptionService.EVENT_SUBSCRIBE
event.Modifier and Type | Method and Description |
---|---|
static MtSubscribeEventContext |
create()
Creates an
EventContext already overlayed with this interface. |
com.sap.xsa.core.instancemanager.client.InstanceCreationOptions |
getInstanceCreationOptions() |
String |
getResult() |
MtSubscriptionService |
getService() |
com.sap.cloud.mt.subscription.json.SubscriptionPayload |
getSubscriptionPayload() |
String |
getTenantId() |
void |
setInstanceCreationOptions(com.sap.xsa.core.instancemanager.client.InstanceCreationOptions options) |
void |
setResult(String url) |
void |
setSubscriptionPayload(com.sap.cloud.mt.subscription.json.SubscriptionPayload payload) |
void |
setTenantId(String tenantId) |
as, create, create, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompleted
static MtSubscribeEventContext create()
EventContext
already overlayed with this interface. The event is set to be
MtSubscriptionService.EVENT_SUBSCRIBE
MtSubscribeEventContext
MtSubscriptionService getService()
getService
in interface EventContext
com.sap.cloud.mt.subscription.json.SubscriptionPayload getSubscriptionPayload()
void setSubscriptionPayload(com.sap.cloud.mt.subscription.json.SubscriptionPayload payload)
payload
- the payload to subscribe the tenantString getTenantId()
void setTenantId(String tenantId)
tenantId
- the tenant ID to subscribeString getResult()
void setResult(String url)
url
- the callback URL of the SaaS Registrycom.sap.xsa.core.instancemanager.client.InstanceCreationOptions getInstanceCreationOptions()
void setInstanceCreationOptions(com.sap.xsa.core.instancemanager.client.InstanceCreationOptions options)
options
- the options when creating a new Database instanceCopyright © 2022. All rights reserved.