summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/manager/IRuntimeManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/manager/IRuntimeManager.java')
-rw-r--r--src/main/java/com/gitblit/manager/IRuntimeManager.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/IRuntimeManager.java b/src/main/java/com/gitblit/manager/IRuntimeManager.java
index 29e7368f..b2d7a2b3 100644
--- a/src/main/java/com/gitblit/manager/IRuntimeManager.java
+++ b/src/main/java/com/gitblit/manager/IRuntimeManager.java
@@ -57,6 +57,33 @@ public interface IRuntimeManager extends IManager {
boolean isServingRepositories();
/**
+ * Determine if this Gitblit instance is actively serving git repositories
+ * over HTTP.
+ *
+ * @return true if Gitblit is serving repositories over HTTP
+ * @since 1.6.0
+ */
+ boolean isServingHTTP();
+
+ /**
+ * Determine if this Gitblit instance is actively serving git repositories
+ * over the GIT Daemon protocol.
+ *
+ * @return true if Gitblit is serving repositories over the GIT Daemon protocol
+ * @since 1.6.0
+ */
+ boolean isServingGIT();
+
+ /**
+ * Determine if this Gitblit instance is actively serving git repositories
+ * over the SSH protocol.
+ *
+ * @return true if Gitblit is serving repositories over the SSH protocol
+ * @since 1.6.0
+ */
+ boolean isServingSSH();
+
+ /**
* Determine if this Gitblit instance is running in debug mode
*
* @return true if Gitblit is running in debug mode