Interface NotificationEnvelope<T>
- Type Parameters:
T
- the destination address type
- All Superinterfaces:
Cloneable
,Comparable<NotificationEnvelope<?>>
,Serializable
- All Known Implementing Classes:
SMTPEnvelope
,VAPIDEnvelope
public interface NotificationEnvelope<T>
extends Serializable, Cloneable, Comparable<NotificationEnvelope<?>>
An interface for notification envelopes.
- Since:
- 10.0
- Version:
- 10.0
- Author:
- Luke
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
An enumeration of notification protocols. -
Method Summary
Modifier and TypeMethodDescriptiondefault int
compareTo
(NotificationEnvelope<?> me) Returns the envelope creation date.Returns the destination address.Returns this envelope's notification protocol.
-
Method Details
-
getEndpoint
-
getCreatedOn
-
getProtocol
NotificationEnvelope.Protocol getProtocol()Returns this envelope's notification protocol.- Returns:
- the Protocol
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T>
-