| java.lang.Object |
| ↳ |
com.atlassian.jira.service.util.handler.DefaultMessageHandlerContext |
This class is an internal implementation detail and will change without notice.
Clients that depend on
@Internal classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to
@Internal elements).
Class Overview
This class has been made public only to allow easy unit testing by tests from other packages.
This is the standard implementation which dispatches calls to appropriate JIRA managers.
Summary
| Public Methods |
|
ChangeItemBean
|
createAttachment(File file, String filename, String contentType, User author, Issue issue)
Creates attachment (when run in real mode) or does nothing if run in dry run mode.
|
|
Comment
|
createComment(Issue issue, User author, String body, boolean dispatchEvent)
Creates a new issue comment in JIRA or a dummy comment in dry run mode
|
|
Issue
|
createIssue(User reporter, Issue issue)
Creates a new issue in JIRA or a dummy issue in dry run mode@return
|
|
User
|
createUser(String username, String password, String email, String fullname, Integer userEventType)
Creates user in JIRA or just dummy user if run in dry run mode@return
|
|
MessageHandlerExecutionMonitor
|
getMonitor()
|
|
boolean
|
isRealRun()
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.jira.service.util.handler.MessageHandlerContext
|
ChangeItemBean
|
createAttachment(File file, String filename, String contentType, User author, Issue issue)
Creates attachment (when run in real mode) or does nothing if run in dry run mode.
|
|
Comment
|
createComment(Issue issue, User author, String body, boolean dispatchEvent)
Creates a new issue comment in JIRA or a dummy comment in dry run mode
|
|
Issue
|
createIssue(User reporter, Issue issue)
Creates a new issue in JIRA or a dummy issue in dry run mode@return
|
|
User
|
createUser(String username, String password, String email, String fullname, Integer userEventType)
Creates user in JIRA or just dummy user if run in dry run mode@return
|
|
MessageHandlerExecutionMonitor
|
getMonitor()
|
|
boolean
|
isRealRun()
|
|
Public Constructors
Public Methods
Creates attachment (when run in real mode) or does nothing if run in dry run mode.
public
Comment
createComment
(Issue issue, User author, String body, boolean dispatchEvent)
Creates a new issue comment in JIRA or a dummy comment in dry run mode
public
Issue
createIssue
(User reporter, Issue issue)
Creates a new issue in JIRA or a dummy issue in dry run mode@return
public
User
createUser
(String username, String password, String email, String fullname, Integer userEventType)
Creates user in JIRA or just dummy user if run in dry run mode@return
public
boolean
isRealRun
()