Class Content
- java.lang.Object
-
- net.md_5.bungee.api.chat.hover.content.Content
-
-
Constructor Summary
Constructors Constructor Description Content()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidassertAction(HoverEvent.Action input)Tests this content against an actionprotected booleancanEqual(Object other)booleanequals(Object o)inthashCode()abstract HoverEvent.ActionrequiredAction()Required action for this content type.StringtoString()
-
-
-
Method Detail
-
requiredAction
public abstract HoverEvent.Action requiredAction()
Required action for this content type.- Returns:
- action
-
assertAction
public void assertAction(HoverEvent.Action input) throws UnsupportedOperationException
Tests this content against an action- Parameters:
input- input to test- Throws:
UnsupportedOperationException- if action incompatible
-
canEqual
protected boolean canEqual(Object other)
-
-