Container Management and associated Northbound APIs.
[controller.git] / opendaylight / containermanager / implementation / src / main / java / org / opendaylight / controller / containermanager / internal / IContainerInternal.java
diff --git a/opendaylight/containermanager/implementation/src/main/java/org/opendaylight/controller/containermanager/internal/IContainerInternal.java b/opendaylight/containermanager/implementation/src/main/java/org/opendaylight/controller/containermanager/internal/IContainerInternal.java
new file mode 100644 (file)
index 0000000..555f37a
--- /dev/null
@@ -0,0 +1,33 @@
+
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. 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.controller.containermanager.internal;
+
+import org.opendaylight.controller.containermanager.ContainerData;
+
+/**
+ * @file   IContainerInternal.java
+ *
+ * @brief  Interface to export internal container manager data to friend classes
+ *
+ * Interface to export internal container manager data to friend classes
+ */
+
+interface IContainerInternal {
+    /**
+     * Return a reference to containerData if available so a friend class
+     * can extract all the data and cook them up.
+     *
+     * @param containerName ContainerName for which we want to export the data
+     *
+     * @return null if containerName doesn't exist or a reference to
+     * ContainerData if exists
+     */
+    ContainerData getContainerData(String containerName);
+}