summaryrefslogtreecommitdiffstats
path: root/lib/public/diagnostics/ievent.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-10-03 20:39:09 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-20 13:38:38 +0200
commit6e08014781ea0099d7e4466dd48d80af63d8ab69 (patch)
tree393c2848c85c56faf108fb4add77ad26a3156f78 /lib/public/diagnostics/ievent.php
parent2790bda4f8d6452e65e28935cee62e1ab5468acf (diff)
downloadnextcloud-server-6e08014781ea0099d7e4466dd48d80af63d8ab69.tar.gz
nextcloud-server-6e08014781ea0099d7e4466dd48d80af63d8ab69.zip
Rename namespace to Diagnostics
Diffstat (limited to 'lib/public/diagnostics/ievent.php')
-rw-r--r--lib/public/diagnostics/ievent.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/public/diagnostics/ievent.php b/lib/public/diagnostics/ievent.php
new file mode 100644
index 00000000000..a2a3461f68a
--- /dev/null
+++ b/lib/public/diagnostics/ievent.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+namespace OCP\Diagnostics;
+
+interface IEvent {
+ /**
+ * @return string
+ */
+ public function getId();
+
+ /**
+ * @return string
+ */
+ public function getDescription();
+
+ /**
+ * @return float
+ */
+ public function getStart();
+
+ /**
+ * @return float
+ */
+ public function getEnd();
+
+ /**
+ * @return float
+ */
+ public function getDuration();
+}