Class InMemoryTicketerPlugin

  • All Implemented Interfaces:
    Plugin

    public class InMemoryTicketerPlugin
    extends java.lang.Object
    implements Plugin
    This Plugin is used to test ticketing workflow. Need to add below system properties. opennms.ticketer.plugin=org.opennms.netmgt.ticketd.OSGiBasedTicketerPlugin opennms.alarmTroubleTicketEnabled = true and enable opennms-inmemory-ticketer feature.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Ticket get​(java.lang.String ticketId)
      DAO like get method to be implemented by HelpDesk specific plugin.
      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

      • InMemoryTicketerPlugin

        public InMemoryTicketerPlugin​(TicketMapper ticketMapper)
    • Method Detail

      • get

        public Ticket get​(java.lang.String ticketId)
                   throws PluginException
        Description copied from interface: Plugin
        DAO like get method to be implemented by HelpDesk specific plugin.
        Specified by:
        get in interface Plugin
        Parameters:
        ticketId - a String object.
        Returns:
        a Ticket object.
        Throws:
        PluginException - if any.