public class MockIssueEventListener extends MockListener implements IssueEventListener
Constructor and Description |
---|
MockIssueEventListener(MockListenerManager mlm) |
Modifier and Type | Method and Description |
---|---|
void |
customEvent(IssueEvent event)
Fired for all custom events
|
Collection<Object[]> |
getCalls() |
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 |
issueStarted(IssueEvent event)
Fired when user starts work on an issue (start progress)
|
void |
issueStopped(IssueEvent event)
Fired when user stops work on an issue (stop progress)
|
void |
issueUpdated(IssueEvent event)
Fired when an issue is updated.
|
void |
issueWorkLogged(IssueEvent event)
Fired when work is logged against an issue.
|
void |
workflowEvent(IssueEvent event)
Fired for all events and the correct event is called
|
getAcceptedParams, getDescription, getParam, init, isInternal, isUnique
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAcceptedParams, getDescription, init, isInternal, isUnique
public MockIssueEventListener(MockListenerManager mlm)
public void issueCreated(IssueEvent event)
IssueEventListener
issueCreated
in interface IssueEventListener
public void issueUpdated(IssueEvent event)
IssueEventListener
The update changelog will be attached to the event as an action.
issueUpdated
in interface IssueEventListener
public void issueAssigned(IssueEvent event)
IssueEventListener
Check the issue assignee to work out which is the case.
issueAssigned
in interface IssueEventListener
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
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
public void issueCommented(IssueEvent event)
IssueEventListener
The comment will be attached to the event as an action.
issueCommented
in interface IssueEventListener
public void issueReopened(IssueEvent event)
IssueEventListener
issueReopened
in interface IssueEventListener
public void issueDeleted(IssueEvent event)
IssueEventListener
issueDeleted
in interface IssueEventListener
public void issueMoved(IssueEvent event)
IssueEventListener
issueMoved
in interface IssueEventListener
public void issueWorkLogged(IssueEvent event)
IssueEventListener
The work log will be attached to the event as an action.
issueWorkLogged
in interface IssueEventListener
public Collection<Object[]> getCalls()
public void issueStarted(IssueEvent event)
IssueEventListener
issueStarted
in interface IssueEventListener
public void issueStopped(IssueEvent event)
IssueEventListener
issueStopped
in interface IssueEventListener
public void issueGenericEvent(IssueEvent event)
IssueEventListener
issueGenericEvent
in interface IssueEventListener
public void workflowEvent(IssueEvent event)
IssueEventListener
workflowEvent
in interface IssueEventListener
public void customEvent(IssueEvent event)
IssueEventListener
customEvent
in interface IssueEventListener
Copyright © 2002-2021 Atlassian. All Rights Reserved.