java.lang.Object
org.mule.runtime.extension.api.model.notification.ImmutableNotificationModel
All Implemented Interfaces:
org.mule.runtime.api.meta.model.notification.NotificationModel

public final class ImmutableNotificationModel extends Object implements org.mule.runtime.api.meta.model.notification.NotificationModel
Default and immutable implementation of NotificationModel
Since:
1.1
  • Constructor Details

    • ImmutableNotificationModel

      public ImmutableNotificationModel(String namespace, String identifier, org.mule.metadata.api.model.MetadataType metadataType)
      Creates a new NotificationModel.
      Parameters:
      namespace - the namespace of the notification
      identifier - the identifier of the notification
      metadataType - the type of data the notification provides
  • Method Details

    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.mule.runtime.api.meta.model.notification.NotificationModel
    • getIdentifier

      public String getIdentifier()
      Specified by:
      getIdentifier in interface org.mule.runtime.api.meta.model.notification.NotificationModel
    • getType

      public org.mule.metadata.api.model.MetadataType getType()
      Specified by:
      getType in interface org.mule.runtime.api.meta.model.notification.NotificationModel
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object