Package net.md_5.bungee.api.chat.hover.content

# Class Content

java.lang.Object
net.md_5.bungee.api.chat.hover.content.Content

Direct Known Subclasses:
  `Entity`, `Item`, `Text`

public abstract class Content extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Content()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `assertAction(HoverEvent.Action input)`
  Tests this content against an action
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `int`
  `hashCode()`
  `abstract HoverEvent.Action`
  `requiredAction()`
  Required action for this content type.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Content

    public Content()

- ## Method Details

  - ### 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

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`