public class OutgoingMailBackdoor extends Object
Constructor and Description |
---|
OutgoingMailBackdoor(JiraBaseUrls jiraBaseUrls,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
javax.ws.rs.core.Response |
clearMessages() |
javax.ws.rs.core.Response |
countMails() |
javax.ws.rs.core.Response |
disable() |
javax.ws.rs.core.Response |
enable() |
javax.ws.rs.core.Response |
getMails() |
void |
init() |
javax.ws.rs.core.Response |
previewMessage(String messageId) |
javax.ws.rs.core.Response |
previewMessage(String messageId,
String CID) |
void |
sendMessage(SendMessageEvent event) |
public OutgoingMailBackdoor(JiraBaseUrls jiraBaseUrls, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
@PostConstruct public void init() throws Exception
Exception
@PreDestroy public void cleanUp() throws Exception
Exception
@EventListener public void sendMessage(SendMessageEvent event)
public javax.ws.rs.core.Response enable()
public javax.ws.rs.core.Response disable()
public javax.ws.rs.core.Response clearMessages()
public javax.ws.rs.core.Response getMails()
public javax.ws.rs.core.Response countMails()
public javax.ws.rs.core.Response previewMessage(String messageId)
Copyright © 2002-2021 Atlassian. All Rights Reserved.