public class IssueIndexListener extends AbstractIssueEventListener
Do not delete ;)
Constructor and Description |
---|
IssueIndexListener() |
Modifier and Type | Method and Description |
---|---|
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()
Should not be deleted - required for JIRA operation
|
void |
issueAssigned(IssueEvent event)
Fired when an issue is assigned or unassigned.
|
void |
issueClosed(IssueEvent event)
Fired when an issue is closed.
|
void |
issueCommentDeleted(IssueEvent event)
The default behaviour for this method calls
AbstractIssueEventListener.issueUpdated(IssueEvent event) . |
void |
issueCommented(IssueEvent event)
Fired when a user comments on an issue.
|
void |
issueCommentEdited(IssueEvent event) |
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 |
issueWorklogDeleted(IssueEvent event) |
void |
issueWorkLogged(IssueEvent event)
Fired when work is logged against an issue.
|
void |
issueWorklogUpdated(IssueEvent event) |
boolean |
isUnique()
As we wish to only have one IssueIndexListener at a time - enforce uniqueness
|
getI18NBean, handleDefaultIssueEvent, issueStarted, issueStopped, workflowEvent
public static final String NAME
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 boolean isInternal()
isInternal
in interface JiraListener
isInternal
in class AbstractIssueEventListener
true
if this is an Atlassian listener, otherwise public void issueCreated(IssueEvent event)
IssueEventListener
issueCreated
in interface IssueEventListener
issueCreated
in class AbstractIssueEventListener
public void issueUpdated(IssueEvent event)
IssueEventListener
The update changelog will be attached to the event as an action.
issueUpdated
in interface IssueEventListener
issueUpdated
in class AbstractIssueEventListener
public void issueAssigned(IssueEvent event)
IssueEventListener
Check the issue assignee to work out which is the case.
issueAssigned
in interface IssueEventListener
issueAssigned
in class AbstractIssueEventListener
public void issueResolved(IssueEvent event)
IssueEventListener
The resolution comment (if there is one) will be attached to the event as an action.
issueResolved
in interface IssueEventListener
issueResolved
in class AbstractIssueEventListener
public void issueClosed(IssueEvent event)
IssueEventListener
The closure comment (if there is one) will be attached to the event as an action.
issueClosed
in interface IssueEventListener
issueClosed
in class AbstractIssueEventListener
public void issueCommented(IssueEvent event)
IssueEventListener
The comment will be attached to the event as an action.
issueCommented
in interface IssueEventListener
issueCommented
in class AbstractIssueEventListener
public void issueWorkLogged(IssueEvent event)
IssueEventListener
The work log will be attached to the event as an action.
issueWorkLogged
in interface IssueEventListener
issueWorkLogged
in class AbstractIssueEventListener
public void issueReopened(IssueEvent event)
IssueEventListener
issueReopened
in interface IssueEventListener
issueReopened
in class AbstractIssueEventListener
public void issueGenericEvent(IssueEvent event)
IssueEventListener
issueGenericEvent
in interface IssueEventListener
issueGenericEvent
in class AbstractIssueEventListener
public void issueCommentEdited(IssueEvent event)
issueCommentEdited
in class AbstractIssueEventListener
public void issueCommentDeleted(IssueEvent event)
AbstractIssueEventListener
AbstractIssueEventListener.issueUpdated(IssueEvent event)
.
This preserves the behaviour of JIRA prior to v5.2issueCommentDeleted
in class AbstractIssueEventListener
public void issueWorklogUpdated(IssueEvent event)
issueWorklogUpdated
in class AbstractIssueEventListener
public void issueWorklogDeleted(IssueEvent event)
issueWorklogDeleted
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 customEvent(IssueEvent event)
AbstractIssueEventListener
customEvent
in interface IssueEventListener
customEvent
in class AbstractIssueEventListener
event
- IssueEventpublic boolean isUnique()
isUnique
in interface JiraListener
isUnique
in class AbstractIssueEventListener
public String getDescription()
JiraListener
A good description will describe what this listener does and explain the parameters required for configuring it.
getDescription
in interface JiraListener
getDescription
in class AbstractIssueEventListener
Copyright © 2002-2022 Atlassian. All Rights Reserved.