Class NullTicketerPlugin

  • All Implemented Interfaces:
    Plugin

    public class NullTicketerPlugin
    extends java.lang.Object
    implements Plugin
    OpenNMS Trouble Ticket Plugin API implementation used as a no-op when not custom tickeing plugin is implemented... Allows the daemon to be started without having to have actual implementation or configuration.
    Version:
    $Id: $
    Author:
    Mathew Brozowski, David Hustace, Mathew Brozowski, David Hustace
    • 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

      • NullTicketerPlugin

        public NullTicketerPlugin()
    • Method Detail

      • get

        public Ticket get​(java.lang.String ticketId)
        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.
      • saveOrUpdate

        public void saveOrUpdate​(Ticket ticket)
        DAO like saveOrUpdate method to be implemented by HelpDesk specific plugin. No-op implementation
        Specified by:
        saveOrUpdate in interface Plugin
        Parameters:
        ticket - a Ticket object.