Package org.bedework.synch.shared.cnctrs
Class Connector.NotificationBatch<N extends Notification>
- java.lang.Object
-
- org.bedework.synch.shared.cnctrs.Connector.NotificationBatch<N>
-
- Type Parameters:
N-
- Enclosing interface:
- Connector<C extends ConnectorInstance<?>,N extends Notification<?>,Tconf extends ConnectorConfigI>
public static class Connector.NotificationBatch<N extends Notification> extends Object
Far end may send a batch of notifications. These should not be batched arbitrarily. One batch per message and response.
-
-
Constructor Summary
Constructors Constructor Description NotificationBatch()NotificationBatch(N notification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNotification(N notification)StringgetMessage()List<N>getNotifications()org.oasis_open.docs.ws_calendar.ns.soap.StatusTypegetStatus()voidsetMessage(String val)voidsetStatus(org.oasis_open.docs.ws_calendar.ns.soap.StatusType val)
-
-
-
Constructor Detail
-
NotificationBatch
public NotificationBatch()
-
NotificationBatch
public NotificationBatch(N notification)
-
-
Method Detail
-
addNotification
public void addNotification(N notification)
-
setStatus
public void setStatus(org.oasis_open.docs.ws_calendar.ns.soap.StatusType val)
-
getStatus
public org.oasis_open.docs.ws_calendar.ns.soap.StatusType getStatus()
-
setMessage
public void setMessage(String val)
-
getMessage
public String getMessage()
-
-