Interface ExtraDataHandler<K>

Type Parameters:
K - Key Type
All Known Subinterfaces:
CommandSender, InputSender
All Known Implementing Classes:
ConsoleCommandSender, PluginInfo

public interface ExtraDataHandler<K>
Extra Data Handler Layout Class
  • Method Details

    • addExtra

      void addExtra(String handle, Object value)
      Add an extra value to this Object
      Parameters:
      handle - Handle
      value - Value
    • hasExtra

      boolean hasExtra(String handle)
      Determine if an extra value exists
      Parameters:
      handle - Handle
      Returns:
      Value Status
    • getExtra

      ObjectMapValue<K> getExtra(String handle)
      Get an extra value
      Parameters:
      handle - Handle
      Returns:
      Value
    • getExtra

      ObjectMap<K> getExtra()
      Get the extra value section
      Returns:
      Extra Value Section
    • removeExtra

      void removeExtra(String handle)
      Remove an extra value from this Object
      Parameters:
      handle - Handle