Add bundles-diag
[odlparent.git] / karaf / bundles-diag / src / main / java / org / opendaylight / odlparent / bundles / diag / DiagProvider.java
diff --git a/karaf/bundles-diag/src/main/java/org/opendaylight/odlparent/bundles/diag/DiagProvider.java b/karaf/bundles-diag/src/main/java/org/opendaylight/odlparent/bundles/diag/DiagProvider.java
new file mode 100644 (file)
index 0000000..85eb18b
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2024 PANTHEON.tech, s.r.o. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.odlparent.bundles.diag;
+
+/**
+ * A source of point-in-time snapshots of {@link Diag} information.
+ */
+public interface DiagProvider {
+
+    Diag currentDiag();
+}