Class 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
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JiraTicketerPlugin

        public JiraTicketerPlugin()
    • Method Detail

      • 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 interface Plugin
        Parameters:
        ticketId - a String object.
        Returns:
        an OpenNMS
        Throws:
        PluginException
      • getConfig

        public static Config getConfig()