summaryrefslogtreecommitdiffstats
path: root/src/site/plugins_extensions.mkd
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2015-05-22 12:13:39 -0400
committerJames Moger <james.moger@gitblit.com>2015-05-22 12:13:39 -0400
commit8a28d0f3df3d4800f82250eec597150ee5dfc933 (patch)
treee5a21b0e26671186dd75b927e1aa5c3cbd32d702 /src/site/plugins_extensions.mkd
parent63fdd0d3a0eb1aad92b180c6238bfa89915da999 (diff)
downloadgitblit-8a28d0f3df3d4800f82250eec597150ee5dfc933.tar.gz
gitblit-8a28d0f3df3d4800f82250eec597150ee5dfc933.zip
Add onFork and onRename methods to RepositoryLifeCycleListener
Diffstat (limited to 'src/site/plugins_extensions.mkd')
-rw-r--r--src/site/plugins_extensions.mkd10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/site/plugins_extensions.mkd b/src/site/plugins_extensions.mkd
index 9e0d1705..82dd30bc 100644
--- a/src/site/plugins_extensions.mkd
+++ b/src/site/plugins_extensions.mkd
@@ -338,6 +338,16 @@ public class MyRepoLifeCycleListener extends RepositoryLifeCycleListener {
}
@Override
+ public void onFork(RepositoryModel origin, RepositoryModel fork) {
+ log.info("{} forked to {}", origin, fork);
+ }
+
+ @Override
+ public void onRename(String oldName, RepositoryModel repo) {
+ log.info("{} renamed to {}", oldName, repo);
+ }
+
+ @Override
public void onDeletion(RepositoryModel repo) {
log.info("Gitblit deleted {}", repo);
}