public final class ImmutableNotificationModel extends Object implements NotificationModel
NotificationModel
Constructor and Description |
---|
ImmutableNotificationModel(String namespace,
String identifier,
MetadataType metadataType)
Creates a new
NotificationModel . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getIdentifier()
Returns the ID of the notification.
|
String |
getNamespace()
Gets the namespace of notification.
|
MetadataType |
getType()
Returns the
MetadataType of the data associated to the notification. |
int |
hashCode() |
public ImmutableNotificationModel(String namespace, String identifier, MetadataType metadataType)
NotificationModel
.namespace
- the namespace of the notificationidentifier
- the identifier of the notificationmetadataType
- the type of data the notification providespublic String getNamespace()
MULE
namespace.getNamespace
in interface NotificationModel
public String getIdentifier()
getIdentifier
in interface NotificationModel
public MetadataType getType()
MetadataType
of the data associated to the notification.getType
in interface NotificationModel
null
MetadataType
Copyright © 2018. All rights reserved.