public class DefaultExtensionNotification extends Object implements org.mule.runtime.api.notification.ExtensionNotification
| Constructor and Description |
|---|
DefaultExtensionNotification(org.mule.runtime.api.event.Event event,
org.mule.runtime.api.component.Component component,
org.mule.sdk.api.notification.NotificationActionDefinition actionDefinition,
Supplier<?> dataValue,
org.mule.runtime.api.metadata.DataType actualDataType)
Creates a new
DefaultExtensionNotification validating that the actionDefinition type information matches the
actual data to use. |
DefaultExtensionNotification(org.mule.runtime.api.event.Event event,
org.mule.runtime.api.component.Component component,
org.mule.sdk.api.notification.NotificationActionDefinition actionDefinition,
org.mule.runtime.api.metadata.TypedValue<?> data)
Creates a new
DefaultExtensionNotification validating that the actionDefinition type information matches the
actual data to use. |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.notification.Notification.Action |
getAction() |
org.mule.runtime.api.component.Component |
getComponent() |
org.mule.runtime.api.metadata.TypedValue<?> |
getData() |
org.mule.runtime.api.event.Event |
getEvent() |
String |
toString() |
public DefaultExtensionNotification(org.mule.runtime.api.event.Event event,
org.mule.runtime.api.component.Component component,
org.mule.sdk.api.notification.NotificationActionDefinition actionDefinition,
org.mule.runtime.api.metadata.TypedValue<?> data)
DefaultExtensionNotification validating that the actionDefinition type information matches the
actual data to use.event - the Event associated to the notificationcomponent - the Component associated to the notificationactionDefinition - the NotificationActionDefinition to usedata - the information to exposeIllegalArgumentException - when the actionDefinition type doesn't match datapublic DefaultExtensionNotification(org.mule.runtime.api.event.Event event,
org.mule.runtime.api.component.Component component,
org.mule.sdk.api.notification.NotificationActionDefinition actionDefinition,
Supplier<?> dataValue,
org.mule.runtime.api.metadata.DataType actualDataType)
DefaultExtensionNotification validating that the actionDefinition type information matches the
actual data to use.event - the Event associated to the notificationcomponent - the Component associated to the notificationactionDefinition - the NotificationActionDefinition to usedataValue - a supplier for the information to exposeactualDataType - the data type of the information to exposeIllegalArgumentException - when the actionDefinition type doesn't match datapublic org.mule.runtime.api.event.Event getEvent()
getEvent in interface org.mule.runtime.api.notification.ExtensionNotificationpublic org.mule.runtime.api.component.Component getComponent()
getComponent in interface org.mule.runtime.api.notification.ExtensionNotificationpublic org.mule.runtime.api.metadata.TypedValue<?> getData()
getData in interface org.mule.runtime.api.notification.ExtensionNotificationpublic org.mule.runtime.api.notification.Notification.Action getAction()
getAction in interface org.mule.runtime.api.notification.NotificationCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.