Package com.polarion.platform.announce
Interface IAnnouncerService
public interface IAnnouncerService
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasAnnouncerForTransport
(String transport) void
sendAnnouncement
(String transport, IAnnouncement announcement) Sends an announcement via the specified transport.
-
Field Details
-
SMTP_TRANSPORT
- See Also:
-
-
Method Details
-
hasAnnouncerForTransport
- Parameters:
transport
- notnull
- Returns:
true
if the transport is supported,false
if not
-
sendAnnouncement
void sendAnnouncement(@NotNull String transport, @NotNull IAnnouncement announcement) throws Exception Sends an announcement via the specified transport.- Parameters:
transport
- transport name (seeSMTP_TRANSPORT
, notnull
announcement
- the announcement to send, notnull
- Throws:
Exception
- on failure
-