Expose metadata from every controlled component.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / Controlled.java
index e311681..6b4c617 100644 (file)
@@ -34,6 +34,13 @@ public interface Controlled {
        public String name();
 
        /**
+        * Returns the current metadata of this component.
+        *
+        * @return The current metadata of this component
+        */
+       public Metadata metadata();
+
+       /**
         * Returns the controllers offered by this component.
         *
         * @return The controllers of this component