|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.event.issue.AbstractIssueEventListener com.atlassian.jira.event.listeners.DebugListener
public class DebugListener
A listener for debugging - prints everything it 'hears' to System.err
Useful for debuggin when certain events are fired, and the content of those events.
Constructor Summary | |
---|---|
DebugListener()
|
Method Summary | |
---|---|
void |
customEvent(IssueEvent event)
Implement this method to deal with any custom events within the system |
String[] |
getAcceptedParams()
Returns the parameters used by this listener. |
String |
getDescription()
Returns a textual description of the listener. |
void |
init(Map params)
Initialises the listener with the given parameters. |
boolean |
isInternal()
Indicates whether this listener is internal, meaning it cannot be removed by an administrator. |
void |
issueAssigned(IssueEvent event)
Fired when an issue is assigned or unassigned. |
void |
issueClosed(IssueEvent event)
Fired when an issue is closed. |
void |
issueCommented(IssueEvent event)
Fired when a user comments on an issue. |
void |
issueCreated(IssueEvent event)
Fired when an issue is created. |
void |
issueDeleted(IssueEvent event)
Fired when an issue is deleted. |
void |
issueGenericEvent(IssueEvent event)
Fired for all other events, eg. |
void |
issueMoved(IssueEvent event)
Fired when an issue is moved. |
void |
issueReopened(IssueEvent event)
Fired when an issue is reopened. |
void |
issueResolved(IssueEvent event)
Fired when an issue is resolved. |
void |
issueUpdated(IssueEvent event)
Fired when an issue is updated. |
void |
issueWorkLogged(IssueEvent event)
Fired when work is logged against an issue. |
boolean |
isUnique()
Indicates whether JIRA should only create one instance of this listener. |
void |
userCannotChangePassword(UserEvent event)
Fired when a user tries to change their password, and the password cannot be updated |
void |
userCreated(UserEvent event)
Fired when a user is created automatically |
void |
userForgotPassword(UserEvent event)
Fired when a user indicates they have forgotten their password |
void |
userForgotUsername(UserEvent event)
Fired when a user indicates they have forgotten their username |
void |
userSignup(UserEvent event)
Fired when a user signs up manually |
Methods inherited from class com.atlassian.jira.event.issue.AbstractIssueEventListener |
---|
getI18NBean, issueCommentDeleted, issueCommentEdited, issueStarted, issueStopped, issueWorklogDeleted, issueWorklogUpdated, workflowEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugListener()
Method Detail |
---|
public void init(Map params)
JiraListener
init
in interface JiraListener
init
in class AbstractIssueEventListener
params
- the initialisation parameters given in the Listener Propertiespublic String[] getAcceptedParams()
JiraListener
getAcceptedParams
in interface JiraListener
getAcceptedParams
in class AbstractIssueEventListener
public void issueAssigned(IssueEvent event)
IssueEventListener
issueAssigned
in interface IssueEventListener
issueAssigned
in class AbstractIssueEventListener
public void issueClosed(IssueEvent event)
IssueEventListener
issueClosed
in interface IssueEventListener
issueClosed
in class AbstractIssueEventListener
public void issueCreated(IssueEvent event)
IssueEventListener
issueCreated
in interface IssueEventListener
issueCreated
in class AbstractIssueEventListener
public void issueResolved(IssueEvent event)
IssueEventListener
issueResolved
in interface IssueEventListener
issueResolved
in class AbstractIssueEventListener
public void issueReopened(IssueEvent event)
IssueEventListener
issueReopened
in interface IssueEventListener
issueReopened
in class AbstractIssueEventListener
public void issueUpdated(IssueEvent event)
IssueEventListener
issueUpdated
in interface IssueEventListener
issueUpdated
in class AbstractIssueEventListener
public void issueCommented(IssueEvent event)
IssueEventListener
issueCommented
in interface IssueEventListener
issueCommented
in class AbstractIssueEventListener
public void issueDeleted(IssueEvent event)
IssueEventListener
issueDeleted
in interface IssueEventListener
issueDeleted
in class AbstractIssueEventListener
public void issueMoved(IssueEvent event)
IssueEventListener
issueMoved
in interface IssueEventListener
issueMoved
in class AbstractIssueEventListener
public void issueWorkLogged(IssueEvent event)
IssueEventListener
issueWorkLogged
in interface IssueEventListener
issueWorkLogged
in class AbstractIssueEventListener
public void issueGenericEvent(IssueEvent event)
IssueEventListener
issueGenericEvent
in interface IssueEventListener
issueGenericEvent
in class AbstractIssueEventListener
public void customEvent(IssueEvent event)
AbstractIssueEventListener
customEvent
in interface IssueEventListener
customEvent
in class AbstractIssueEventListener
event
- IssueEventpublic void userSignup(UserEvent event)
UserEventListener
userSignup
in interface UserEventListener
event
- the event in playpublic void userCreated(UserEvent event)
UserEventListener
userCreated
in interface UserEventListener
event
- the event in playpublic void userForgotPassword(UserEvent event)
UserEventListener
userForgotPassword
in interface UserEventListener
event
- the event in playpublic void userForgotUsername(UserEvent event)
UserEventListener
userForgotUsername
in interface UserEventListener
event
- the event in playpublic void userCannotChangePassword(UserEvent event)
UserEventListener
userCannotChangePassword
in interface UserEventListener
event
- the event in playpublic boolean isInternal()
JiraListener
isInternal
in interface JiraListener
isInternal
in class AbstractIssueEventListener
true
if this is an Atlassian listener, otherwise public boolean isUnique()
JiraListener
isUnique
in interface JiraListener
isUnique
in class AbstractIssueEventListener
public String getDescription()
JiraListener
getDescription
in interface JiraListener
getDescription
in class AbstractIssueEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |