Class Overview
Event that is raised when a pull request is merged.
The event's changeset
indicates the changeset which resulted from the merge performed
by Stash.
If the changeset is null
then the pull request was merged as a result of a remote change to the repository
performed outside of and then pushed to Stash.
Summary
[Expand]
Inherited Fields |
From class
java.util.EventObject
|
[Expand]
Inherited Methods |
From class
com.atlassian.stash.event.pull.PullRequestEvent
|
From class
com.atlassian.stash.event.StashEvent
|
From class
java.util.EventObject
Object
|
getSource()
|
String
|
toString()
|
|
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)
|
|
Public Constructors
public
PullRequestMergedEvent
(Object source, PullRequest pullRequest, MinimalChangeset changeset)
Parameters
source
| the entity raising the event |
pullRequest
| the pull request that was merged |
changeset
| the changeset that resulted from the merging the pull request in the web UI or the REST resource.
If null it indicates the pull request was merged remotely and pushed to Stash.
|
Public Methods
public
boolean
isMergedRemotely
()
Returns
true
if the pull request was merged remotely and pushed to Stash. false
if the pull request was merged through the web UI/REST resource.