public interface MtUnsubscribeEventContext extends EventContext
EventContext
used for the MtSubscriptionService.EVENT_UNSUBSCRIBE
event.Modifier and Type | Method and Description |
---|---|
static MtUnsubscribeEventContext |
create()
Creates an
EventContext already overlayed with this interface. |
Boolean |
getDelete() |
com.sap.cloud.mt.subscription.json.DeletePayload |
getDeletePayload() |
MtSubscriptionService |
getService() |
String |
getTenantId() |
void |
setDelete(boolean delete) |
void |
setDeletePayload(com.sap.cloud.mt.subscription.json.DeletePayload 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 MtUnsubscribeEventContext create()
EventContext
already overlayed with this interface. The event is set to be
MtSubscriptionService.EVENT_UNSUBSCRIBE
MtUnsubscribeEventContext
MtSubscriptionService getService()
getService
in interface EventContext
com.sap.cloud.mt.subscription.json.DeletePayload getDeletePayload()
void setDeletePayload(com.sap.cloud.mt.subscription.json.DeletePayload payload)
payload
- the information to delete the tenantString getTenantId()
void setTenantId(String tenantId)
tenantId
- the tenant ID to unsubscribeBoolean getDelete()
void setDelete(boolean delete)
delete
- true, if the tenant is to be deleted, false, if the tenant is to be skippedCopyright © 2022. All rights reserved.