Expose metadata from every controlled component.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / Controlled.java
index 88ce3e0..6b4c617 100644 (file)
@@ -27,10 +27,24 @@ import java.util.List;
 public interface Controlled {
 
        /**
+        * Returns the name of this controlled component.
+        *
+        * @return The name of this controlled component
+        */
+       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
         */
-       public List<Controller> controllers();
+       public List<Controller<?>> controllers();
 
 }