Package org.opennms.netmgt.ticketer.jira
Class JiraTicketerPlugin
- java.lang.Object
-
- org.opennms.netmgt.ticketer.jira.JiraTicketerPlugin
-
- All Implemented Interfaces:
Plugin
public class JiraTicketerPlugin extends java.lang.Object implements Plugin
OpenNMS Trouble Ticket Plugin API implementation for Atlassian JIRA. This implementation relies on the JIRA REST interface and is compatible with JIRA 5.0+.- Author:
- Johan Edstrom, Seth
-
-
Constructor Summary
Constructors Constructor Description JiraTicketerPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Ticket
get(java.lang.String ticketId)
Implementation of TicketerPlugin API call to retrieve a Jira trouble ticket.static Config
getConfig()
protected com.atlassian.jira.rest.client.api.JiraRestClient
getConnection()
void
saveOrUpdate(Ticket ticket)
DAO like saveOrUpdate method to be implemented by HelpDesk specific plugin.
-
-
-
Method Detail
-
getConnection
protected com.atlassian.jira.rest.client.api.JiraRestClient getConnection() throws PluginException
- Throws:
PluginException
-
get
public Ticket get(java.lang.String ticketId) throws PluginException
Implementation of TicketerPlugin API call to retrieve a Jira trouble ticket.- Specified by:
get
in interfacePlugin
- Parameters:
ticketId
- aString
object.- Returns:
- an OpenNMS
- Throws:
PluginException
-
getConfig
public static Config getConfig()
-
saveOrUpdate
public void saveOrUpdate(Ticket ticket) throws PluginException
Description copied from interface:Plugin
DAO like saveOrUpdate method to be implemented by HelpDesk specific plugin.- Specified by:
saveOrUpdate
in interfacePlugin
- Parameters:
ticket
- aTicket
object.- Throws:
PluginException
- if any.
-
-