public interface UnsubscribeEventContext extends EventContext
Modifier and Type | Method and Description |
---|---|
static UnsubscribeEventContext |
create()
Creates an
EventContext already overlayed with this interface. |
Map<String,Object> |
getOptions() |
DeploymentService |
getService()
Returns the
Service (Consumption API) of the service, targeted by the EventContext . |
String |
getTenant() |
void |
setOptions(Map<String,Object> options)
To get named and type safe access to this options map, it's possible to cast it to a specific implementation.
|
void |
setTenant(String tenant)
Sets the tenant ID
|
as, create, create, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompleted
static UnsubscribeEventContext create()
EventContext
already overlayed with this interface. The event is set to be
DeploymentService.EVENT_UNSUBSCRIBE
UnsubscribeEventContext
DeploymentService getService()
EventContext
Service
(Consumption API) of the service, targeted by the EventContext
.
This is the service, on which the Service.emit(EventContext)
method (or specialized Consumption API) was called.getService
in interface EventContext
Service
(Consumption API) of the service, targeted by the EventContext
.String getTenant()
void setTenant(String tenant)
tenant
- the tenant IDvoid setOptions(Map<String,Object> options)
SaasUnsubscriptionOptions options = Struct.access(context.getOptions()).as(SaasUnsubscriptionOptions.class);Sets the optional additional options
options
- the optional additional optionsCopyright © 2023. All rights reserved.