net.sf.jagzilla.events
Class JagzillaEventImpl

java.lang.Object
  extended bynet.sf.jagzilla.events.JagzillaEventImpl
All Implemented Interfaces:
JagzillaEvent

public class JagzillaEventImpl
extends java.lang.Object
implements JagzillaEvent

base class for all events inside jagzilla.

Author:
mike

Field Summary
 
Fields inherited from interface net.sf.jagzilla.events.JagzillaEvent
ADD_BUG, ADD_BUG_ATTACHMENT, ADD_BUG_ATTACHMENT_PARAM_ATTACHMENT, ADD_BUG_COMMENT, ADD_BUG_COMMENT_PARAM_COMMENT, ADD_BUG_COMMENT_PARAM_REPORTER, ADD_BUG_PARAM_BUG, CHANGE_BUG_PRIORITY, CHANGE_BUG_PRIORITY_PARAM_BUG, CHANGE_BUG_PRIORITY_PARAM_COMMENT, CHANGE_BUG_PRIORITY_PARAM_PRIORITY, CHANGE_BUG_PRIORITY_PARAM_REPORTER, CHANGE_BUG_SEVERITY, CHANGE_BUG_SEVERITY_PARAM_BUG, CHANGE_BUG_SEVERITY_PARAM_COMMENT, CHANGE_BUG_SEVERITY_PARAM_REPORTER, CHANGE_BUG_SEVERITY_PARAM_SEVERITY, CHANGE_BUG_STATUS, CHANGE_BUG_STATUS_PARAM_ASIGNEE, CHANGE_BUG_STATUS_PARAM_BUG, CHANGE_BUG_STATUS_PARAM_REPORTER, CHANGE_BUG_STATUS_PARAM_STATUS, REMOVE_BUG, REMOVE_BUG_PARAM_BUG, RESOLVE_BUG, RESOLVE_BUG_PARAM_BUG, RESOLVE_BUG_PARAM_DUPE, RESOLVE_BUG_PARAM_REPORTER, RESOLVE_BUG_PARAM_RESOLUTION, UPDATE_BUG, UPDATE_BUG_PARAM_CURRENT, UPDATE_BUG_PARAM_PREVIOUS
 
Constructor Summary
JagzillaEventImpl()
           
 
Method Summary
 java.lang.String getSource()
          return a String identifying the piece of code generating the event.
 void setSource(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JagzillaEventImpl

public JagzillaEventImpl()
Method Detail

setSource

public void setSource(java.lang.String string)

getSource

public java.lang.String getSource()
                           throws NullSourceException
Description copied from interface: JagzillaEvent
return a String identifying the piece of code generating the event. The string returned is a constant in this interface.

Specified by:
getSource in interface JagzillaEvent
Returns:
a string identifying the event.
Throws:
NullSourceException - if the event being thrown has a null source.


Distributed under the GPL. By Miguel Griffa. See the Jagzilla project page for more info.