Class DefaultTransportNotificationItem
- java.lang.Object
-
- com.javahollic.jira.emh.api.extension.transport.DefaultTransportNotificationItem
-
- All Implemented Interfaces:
ITransportNotificationItem
public class DefaultTransportNotificationItem extends Object implements ITransportNotificationItem
-
-
Constructor Summary
Constructors Constructor Description DefaultTransportNotificationItem(com.javahollic.jira.emh.api.ao.IJEMHTransportItemEntityDef e)
DefaultTransportNotificationItem(String content, IJEMHTransportProvider.TransportContentType type, String transportKey, int transportConfigId, long issueEventId, String issueKey, long projectId, String[] recipientUserKeys, boolean sendImmediately)
DefaultTransportNotificationItem(String subject, String content, IJEMHTransportProvider.TransportContentType type, String transportKey, int transportConfigId, long notificationSchemeId, long issueEventId, String issueKey, long projectId, String[] recipientUserKeys, boolean sendImmediately)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
long
getIssueEventId()
String
getIssueKey()
long
getNotificationSchemeId()
long
getProjectId()
String[]
getRecipientUserKeys()
String
getSubject()
int
getTransportConfigId()
String
getTransportKey()
IJEMHTransportProvider.TransportContentType
getType()
boolean
isSendImmediately()
-
-
-
Constructor Detail
-
DefaultTransportNotificationItem
public DefaultTransportNotificationItem(com.javahollic.jira.emh.api.ao.IJEMHTransportItemEntityDef e)
-
DefaultTransportNotificationItem
public DefaultTransportNotificationItem(String content, IJEMHTransportProvider.TransportContentType type, String transportKey, int transportConfigId, long issueEventId, String issueKey, long projectId, String[] recipientUserKeys, boolean sendImmediately)
-
DefaultTransportNotificationItem
public DefaultTransportNotificationItem(String subject, String content, IJEMHTransportProvider.TransportContentType type, String transportKey, int transportConfigId, long notificationSchemeId, long issueEventId, String issueKey, long projectId, String[] recipientUserKeys, boolean sendImmediately)
-
-
Method Detail
-
getSubject
public String getSubject()
- Specified by:
getSubject
in interfaceITransportNotificationItem
-
getContent
public String getContent()
- Specified by:
getContent
in interfaceITransportNotificationItem
-
getTransportKey
public String getTransportKey()
- Specified by:
getTransportKey
in interfaceITransportNotificationItem
-
getTransportConfigId
public int getTransportConfigId()
- Specified by:
getTransportConfigId
in interfaceITransportNotificationItem
-
getRecipientUserKeys
public String[] getRecipientUserKeys()
- Specified by:
getRecipientUserKeys
in interfaceITransportNotificationItem
-
getType
public IJEMHTransportProvider.TransportContentType getType()
- Specified by:
getType
in interfaceITransportNotificationItem
-
isSendImmediately
public boolean isSendImmediately()
- Specified by:
isSendImmediately
in interfaceITransportNotificationItem
-
getIssueEventId
public long getIssueEventId()
- Specified by:
getIssueEventId
in interfaceITransportNotificationItem
-
getIssueKey
public String getIssueKey()
- Specified by:
getIssueKey
in interfaceITransportNotificationItem
-
getNotificationSchemeId
public long getNotificationSchemeId()
- Specified by:
getNotificationSchemeId
in interfaceITransportNotificationItem
-
getProjectId
public long getProjectId()
- Specified by:
getProjectId
in interfaceITransportNotificationItem
-
-