com.atlassian.bitbucket.scm.hook.PluginHookHandlerFactory |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates the SCM specific
handler for the SCM hook callback | |||||||||||
Creates the SCM specific handler
for the SCM hook callback
repository | the repository |
---|---|
hookRequest | the hook request |
Peels the from
and to
hashes on the provided
RefChange
s, ensuring they reference commits. For branches and lightweight tags, the resulting
RefChange
s are unchanged. For annotated tags, the hashes on the returned RefChange
will
be the ID of the commit that the tag references.
The default implementation returns the provided RefChange
s unchanged, which may be appropriate
for some SCMs.
repository | the repository |
---|---|
refChanges | the ref changes to resolve |