Class OtrsTicketerPlugin

  • All Implemented Interfaces:
    Plugin

    public class OtrsTicketerPlugin
    extends java.lang.Object
    implements Plugin
    OpenNMS Trouble Ticket Plugin API implementation for OTRS
    Version:
    $Id: $
    Author:
    Jonathan Sartin
    • Constructor Summary

      Constructors 
      Constructor Description
      OtrsTicketerPlugin()
      Constructor for OtrsTicketerPlugin.
    • 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.
      java.lang.String getEndpoint()
      getEndpoint
      void saveOrUpdate​(Ticket newTicket)
      DAO like saveOrUpdate method to be implemented by HelpDesk specific plugin.
      void setEndpoint​(java.lang.String endpoint)
      setEndpoint
      • Methods inherited from class java.lang.Object

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

      • OtrsTicketerPlugin

        public OtrsTicketerPlugin()

        Constructor for OtrsTicketerPlugin.

    • Method Detail

      • get

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

        public java.lang.String getEndpoint()

        getEndpoint

        Returns:
        a String object.
      • setEndpoint

        public void setEndpoint​(java.lang.String endpoint)

        setEndpoint

        Parameters:
        endpoint - a String object.