org.opennms.netmgt.ticketer.rt
Class RtTicketerPlugin
java.lang.Object
org.opennms.netmgt.ticketer.rt.RtTicketerPlugin
- All Implemented Interfaces:
- org.opennms.api.integration.ticketing.Plugin
public class RtTicketerPlugin
- extends Object
- implements org.opennms.api.integration.ticketing.Plugin
OpenNMS Trouble Ticket Plugin API implementation for RT
- Author:
- Jonathan Sartin
|
Method Summary |
org.opennms.api.integration.ticketing.Ticket |
get(String ticketId)
Gets ticket details from the RT trouble ticket system |
void |
saveOrUpdate(org.opennms.api.integration.ticketing.Ticket newTicket)
Creates a new ticket (if none exists) or updates an existing ticket in the
RT trouble ticket system. |
void |
setPassword(String password)
|
void |
setUser(String user)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtTicketerPlugin
public RtTicketerPlugin()
get
public org.opennms.api.integration.ticketing.Ticket get(String ticketId)
throws org.opennms.api.integration.ticketing.PluginException
- Gets ticket details from the RT trouble ticket system
- Specified by:
get in interface org.opennms.api.integration.ticketing.Plugin
- Parameters:
ticketId - a string representation of the RT ticketID
- Returns:
- ticket the ticket details
- Throws:
org.opennms.api.integration.ticketing.PluginException
saveOrUpdate
public void saveOrUpdate(org.opennms.api.integration.ticketing.Ticket newTicket)
throws org.opennms.api.integration.ticketing.PluginException
- Creates a new ticket (if none exists) or updates an existing ticket in the
RT trouble ticket system. Ticket updates are currently limited to updating
the ticket status only.
- Specified by:
saveOrUpdate in interface org.opennms.api.integration.ticketing.Plugin
- Parameters:
ticket - the ticket details
- Throws:
org.opennms.api.integration.ticketing.PluginException
setUser
public void setUser(String user)
setPassword
public void setPassword(String password)
Copyright © 2009. All Rights Reserved.