com.atlassian.jira.service.util.handler.MessageHandlerContext |
Known Indirect Subclasses
|
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Well-behaved MessageHandler implementations should use as much as possible this interface to create appropriate entities. Depending on the mode the handler is run in the calls will be mutative for JIRA (in normal production run) or will create just dummy objects when run while testing message handler from administration screen.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates attachment (when run in real mode) or does nothing if run in dry run mode.
| |||||||||||
Creates a new issue comment in JIRA or a dummy comment in dry run mode
| |||||||||||
Creates a new issue in JIRA or a dummy issue in dry run mode@return
| |||||||||||
Creates user in JIRA or just dummy user if run in dry run mode@return
| |||||||||||
Creates attachment (when run in real mode) or does nothing if run in dry run mode.
doUpdate(com.atlassian.jira.issue.util.IssueUpdateBean, boolean)
AttachmentException |
---|
Creates a new issue comment in JIRA or a dummy comment in dry run mode
Creates a new issue in JIRA or a dummy issue in dry run mode@return
CreateException |
---|
Creates user in JIRA or just dummy user if run in dry run mode@return
PermissionException | |
CreateException | |
PermissionException |
true
if the context works in production mode (when handlers are run from the service)
or false
if runs