projects
/
sonitus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add name to all controlled components.
[sonitus.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sonitus
/
data
/
Controlled.java
diff --git
a/src/main/java/net/pterodactylus/sonitus/data/Controlled.java
b/src/main/java/net/pterodactylus/sonitus/data/Controlled.java
index
88ce3e0
..
e311681
100644
(file)
--- a/
src/main/java/net/pterodactylus/sonitus/data/Controlled.java
+++ b/
src/main/java/net/pterodactylus/sonitus/data/Controlled.java
@@
-27,10
+27,17
@@
import java.util.List;
public interface Controlled {
/**
public interface Controlled {
/**
+ * Returns the name of this controlled component.
+ *
+ * @return The name of this controlled component
+ */
+ public String name();
+
+ /**
* Returns the controllers offered by this component.
*
* @return The controllers of this component
*/
* Returns the controllers offered by this component.
*
* @return The controllers of this component
*/
- public List<Controller> controllers();
+ public List<Controller
<?>
> controllers();
}
}