Expose metadata from every controlled component.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / Controlled.java
index b84a114..6b4c617 100644 (file)
@@ -27,6 +27,20 @@ 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