X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsonitus%2Fdata%2FControlled.java;h=6b4c617c2c09b3c79809d387fdeeb5cabc9cf381;hb=963ad1fcca51d8be2729e0dba4d6f46a69995679;hp=b84a114efd4f4fd0a26dbbcd459c42c807e1da9b;hpb=f761d816f6e2f14bc80efb45e4cb5c130fa9a57f;p=sonitus.git diff --git a/src/main/java/net/pterodactylus/sonitus/data/Controlled.java b/src/main/java/net/pterodactylus/sonitus/data/Controlled.java index b84a114..6b4c617 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Controlled.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Controlled.java @@ -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