public class NotificationModelToIdentifierTypeAdapter extends com.google.gson.TypeAdapter<org.mule.runtime.api.meta.model.notification.NotificationModel>
TypeAdapter implementation for NotificationModel, which serializes it as notification identifiers. A
notification identifier follows the ComponentIdentifier structure,
notificationNamespace:notificationIdentifier.| Constructor and Description |
|---|
NotificationModelToIdentifierTypeAdapter(Map<String,org.mule.runtime.api.meta.model.notification.NotificationModel> notificationModelMap) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.meta.model.notification.NotificationModel |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
org.mule.runtime.api.meta.model.notification.NotificationModel value) |
public NotificationModelToIdentifierTypeAdapter(Map<String,org.mule.runtime.api.meta.model.notification.NotificationModel> notificationModelMap)
public void write(com.google.gson.stream.JsonWriter out,
org.mule.runtime.api.meta.model.notification.NotificationModel value)
throws IOException
write in class com.google.gson.TypeAdapter<org.mule.runtime.api.meta.model.notification.NotificationModel>IOExceptionpublic org.mule.runtime.api.meta.model.notification.NotificationModel read(com.google.gson.stream.JsonReader in) throws IOException
read in class com.google.gson.TypeAdapter<org.mule.runtime.api.meta.model.notification.NotificationModel>IOExceptionCopyright © 2022 MuleSoft, Inc.. All rights reserved.