public interface SubscribeEventContext extends EventContext
Modifier and Type | Method and Description |
---|---|
static SubscribeEventContext |
create()
Creates an
EventContext already overlayed with this interface. |
Map<String,Object> |
getOptions()
To get named and type safe access to this options map, it's possible to cast it to a specific implementation.
|
DeploymentService |
getService()
Returns the
Service (Consumption API) of the service, targeted by the EventContext . |
String |
getTenant() |
void |
setOptions(Map<String,Object> options)
Sets the optional additional options
|
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 SubscribeEventContext create()
EventContext
already overlayed with this interface. The event is set to be
DeploymentService.EVENT_SUBSCRIBE
SubscribeEventContext
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 IDMap<String,Object> getOptions()
SaasRegistrySubscriptionOptions.create(context.getOptions());
Copyright © 2023. All rights reserved.