public class NotificationModelToIdentifierSerializer extends Object
NotificationModel instances as notification identifiers.| Constructor and Description |
|---|
NotificationModelToIdentifierSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.api.meta.model.notification.NotificationModel |
deserialize(String notificationIdentifier)
Deserializes a notification model identifier into an
NotificationModel. |
static org.mule.runtime.api.meta.model.notification.NotificationModel |
deserialize(String notificationIdentifier,
Map<String,org.mule.runtime.api.meta.model.notification.NotificationModel> notificationModelRepository)
Deserializes a notification model identifier into a
NotificationModel. |
static String |
serialize(org.mule.runtime.api.meta.model.notification.NotificationModel notificationModel)
Serializes a
NotificationModel to the following structure: nameSpace:notificationIdentifier |
public NotificationModelToIdentifierSerializer()
public static org.mule.runtime.api.meta.model.notification.NotificationModel deserialize(String notificationIdentifier, Map<String,org.mule.runtime.api.meta.model.notification.NotificationModel> notificationModelRepository)
NotificationModel. Uses a Notification Model Repository to be
able to rebuild the entire notification model.notificationIdentifier - Notification following the following structure nameSpace:notificationIdentifiernotificationModelRepository - Repository of already built notification modelsNotificationModel representing the given notificationIdentifierpublic static org.mule.runtime.api.meta.model.notification.NotificationModel deserialize(String notificationIdentifier)
NotificationModel.notificationIdentifier - Notification following the following structure nameSpace:notificationIdentifierNotificationModel representing the given notificationIdentifierpublic static String serialize(org.mule.runtime.api.meta.model.notification.NotificationModel notificationModel)
NotificationModel to the following structure: nameSpace:notificationIdentifiernotificationModel - Notification to serializeCopyright © 2022 MuleSoft, Inc.. All rights reserved.