All Known Implementing Classes:
BanEntry

public interface IBanEntry
IBanEntry represents a ban entry in a ban list.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the date when the ban entry was created.
    Retrieves the expiration date of the ban entry.
    name()
    Returns the name associated with this ban entry.
    Retrieves the reason associated with this ban entry.
    Retrieves the source of the ban entry.
    uuid()
    Generates a new random UUID.
  • Method Details

    • uuid

      UUID uuid()
      Generates a new random UUID.
      Returns:
      A new UUID.
    • name

      String name()
      Returns the name associated with this ban entry.
      Returns:
      The name associated with this ban entry.
    • source

      String source()
      Retrieves the source of the ban entry.
      Returns:
      The source of the ban entry as a string.
    • created

      Date created()
      Returns the date when the ban entry was created.
      Returns:
      The date when the ban entry was created.
    • expires

      Object expires()
      Retrieves the expiration date of the ban entry.
      Returns:
      The expiration date of the ban entry.
    • reason

      String reason()
      Retrieves the reason associated with this ban entry.
      Returns:
      The reason for the ban entry.