diff options
Diffstat (limited to 'gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java')
-rw-r--r-- | gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java b/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java index 48a52a02f5..f05c10b91d 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java +++ b/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java @@ -1,4 +1,5 @@ // Copyright (C) 2012 The Android Open Source Project +// Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -106,6 +107,17 @@ public interface ChangeHooks { String reason, ReviewDb db) throws OrmException; /** + * Fire the Change Deferred Hook. + * + * @param change The change itself. + * @param account The gerrit user who deferred the change. + * @param reason Reason for deferring the change. + * @throws OrmException + */ + public void doChangeDeferredHook(Change change, Account account, + String reason, ReviewDb db) throws OrmException; + + /** * Fire the Change Restored Hook. * * @param change The change itself. |