net.sf.jagzilla
Class EventHandler
java.lang.Object
net.sf.jagzilla.EventHandler
- public class EventHandler
- extends java.lang.Object
handles events in jagzilla.
- Author:
- mike
|
Method Summary |
void |
handleAddBugAttachEvent(Attachment attachment)
|
void |
handleAddBugComment(Profile reporter,
java.lang.String comment)
|
void |
handleAddBugEvent(Bug bug)
|
void |
handleChangeBugPriority(Profile reporter,
Bug b,
java.lang.String pri,
java.lang.String comment)
|
void |
handleChangeBugSeverity(Profile reporter,
Bug b,
java.lang.String sev,
java.lang.String comment)
|
void |
handleChangeBugStatus(Profile reporter,
Bug b,
java.lang.String status,
Profile asignee)
|
void |
handleRemoveBugEvent(Bug b)
|
void |
handleResolveBugEvent(Profile reporter,
Bug b,
java.lang.String resolution,
Bug dupe)
|
void |
handleUpdateBugEvent(Bug oldBug,
Bug newBug)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventHandler
public EventHandler(BugQuery bq,
SystemQuery sq)
throws java.io.IOException,
JagzillaException
- constructs a new event handler.
At least on of bq or sq must be non null.
- Parameters:
bq - sq -
- Throws:
java.io.IOException
BadParameterException - if both bq and sq are null
JagzillaException
handleAddBugEvent
public void handleAddBugEvent(Bug bug)
throws JagzillaEventException
- Throws:
JagzillaEventException
handleUpdateBugEvent
public void handleUpdateBugEvent(Bug oldBug,
Bug newBug)
throws JagzillaEventException
- Throws:
JagzillaEventException
handleAddBugComment
public void handleAddBugComment(Profile reporter,
java.lang.String comment)
- Parameters:
reporter - comment -
handleChangeBugStatus
public void handleChangeBugStatus(Profile reporter,
Bug b,
java.lang.String status,
Profile asignee)
- Parameters:
reporter - b - status - asignee -
handleChangeBugPriority
public void handleChangeBugPriority(Profile reporter,
Bug b,
java.lang.String pri,
java.lang.String comment)
- Parameters:
reporter - b - pri - comment -
handleChangeBugSeverity
public void handleChangeBugSeverity(Profile reporter,
Bug b,
java.lang.String sev,
java.lang.String comment)
- Parameters:
reporter - b - sev - comment -
handleRemoveBugEvent
public void handleRemoveBugEvent(Bug b)
- Parameters:
b -
handleAddBugAttachEvent
public void handleAddBugAttachEvent(Attachment attachment)
- Parameters:
attachment -
handleResolveBugEvent
public void handleResolveBugEvent(Profile reporter,
Bug b,
java.lang.String resolution,
Bug dupe)
- Parameters:
reporter - b - resolution - dupe -
Distributed under the GPL.
By Miguel Griffa.
See the Jagzilla project page for more info.