Class InMemoryTicketerPlugin
- java.lang.Object
-
- org.opennms.features.ticketing.inmemory.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.
-
-
Constructor Summary
Constructors Constructor Description InMemoryTicketerPlugin(TicketMapper ticketMapper)
-
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.
-
-
-
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 interfacePlugin
- Parameters:
ticketId
- aString
object.- Returns:
- a
Ticket
object. - Throws:
PluginException
- if any.
-
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.
-
-