summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/extensions
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-04-13 11:52:26 -0400
committerJames Moger <james.moger@gitblit.com>2014-04-13 11:52:26 -0400
commita3ac802e4cd624129131b8004852d608ac2cf64c (patch)
tree810a90659dc58129df0f0b4755516cbb357c34cb /src/main/java/com/gitblit/extensions
parentfad6b4a3d5f9a7fe7f7bced14e591478cf959bb3 (diff)
downloadgitblit-a3ac802e4cd624129131b8004852d608ac2cf64c.tar.gz
gitblit-a3ac802e4cd624129131b8004852d608ac2cf64c.zip
Documentation
Diffstat (limited to 'src/main/java/com/gitblit/extensions')
-rw-r--r--src/main/java/com/gitblit/extensions/PatchsetHook.java4
-rw-r--r--src/main/java/com/gitblit/extensions/ReceiveHook.java4
-rw-r--r--src/main/java/com/gitblit/extensions/TicketHook.java4
3 files changed, 10 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/extensions/PatchsetHook.java b/src/main/java/com/gitblit/extensions/PatchsetHook.java
index e465f507..fa48aae0 100644
--- a/src/main/java/com/gitblit/extensions/PatchsetHook.java
+++ b/src/main/java/com/gitblit/extensions/PatchsetHook.java
@@ -23,6 +23,7 @@ import com.gitblit.models.TicketModel;
* Extension point for plugins to respond to Ticket patchset changes.
*
* @author James Moger
+ * @since 1.5.0
*
*/
public abstract class PatchsetHook implements ExtensionPoint {
@@ -33,6 +34,7 @@ public abstract class PatchsetHook implements ExtensionPoint {
* proposal or it may be a existing ticket that now has a new patchset.
*
* @param ticket
+ * @since 1.5.0
*/
public abstract void onNewPatchset(TicketModel ticket);
@@ -40,6 +42,7 @@ public abstract class PatchsetHook implements ExtensionPoint {
* Called after a patchset has been FAST-FORWARD updated.
*
* @param ticket
+ * @since 1.5.0
*/
public abstract void onUpdatePatchset(TicketModel ticket);
@@ -48,6 +51,7 @@ public abstract class PatchsetHook implements ExtensionPoint {
* in the ticket.
*
* @param ticket
+ * @since 1.5.0
*/
public abstract void onMergePatchset(TicketModel ticket);
}
diff --git a/src/main/java/com/gitblit/extensions/ReceiveHook.java b/src/main/java/com/gitblit/extensions/ReceiveHook.java
index 00dcb3e3..b3c9d9fd 100644
--- a/src/main/java/com/gitblit/extensions/ReceiveHook.java
+++ b/src/main/java/com/gitblit/extensions/ReceiveHook.java
@@ -27,7 +27,7 @@ import com.gitblit.git.GitblitReceivePack;
* Extension point for plugins to process commits on Pre- and Post- Receive.
*
* @author James Moger
- *
+ * @since 1.5.0
*/
public abstract class ReceiveHook implements ExtensionPoint {
@@ -38,6 +38,7 @@ public abstract class ReceiveHook implements ExtensionPoint {
*
* @param receivePack
* @param commands
+ * @since 1.5.0
*/
public abstract void onPreReceive(GitblitReceivePack receivePack, Collection<ReceiveCommand> commands);
@@ -48,6 +49,7 @@ public abstract class ReceiveHook implements ExtensionPoint {
*
* @param receivePack
* @param commands
+ * @since 1.5.0
*/
public abstract void onPostReceive(GitblitReceivePack receivePack, Collection<ReceiveCommand> commands);
}
diff --git a/src/main/java/com/gitblit/extensions/TicketHook.java b/src/main/java/com/gitblit/extensions/TicketHook.java
index 3acbef30..c6e548d0 100644
--- a/src/main/java/com/gitblit/extensions/TicketHook.java
+++ b/src/main/java/com/gitblit/extensions/TicketHook.java
@@ -24,7 +24,7 @@ import com.gitblit.models.TicketModel.Change;
* Extension point for plugins to respond to Ticket changes.
*
* @author James Moger
- *
+ * @since 1.5.0
*/
public abstract class TicketHook implements ExtensionPoint {
@@ -32,6 +32,7 @@ public abstract class TicketHook implements ExtensionPoint {
* Called when a new ticket is created.
*
* @param ticket
+ * @since 1.5.0
*/
public abstract void onNewTicket(TicketModel ticket);
@@ -41,6 +42,7 @@ public abstract class TicketHook implements ExtensionPoint {
*
* @param ticket
* @param change
+ * @since 1.5.0
*/
public abstract void onUpdateTicket(TicketModel ticket, Change change);
}