Class Addon

java.lang.Object
dev.boze.api.addon.Addon
All Implemented Interfaces:
Serializable<Addon>

public abstract class Addon extends Object implements Serializable<Addon>
  • Field Details

  • Constructor Details

  • Method Details

    • initialize

      public boolean initialize()
    • shutdown

      public void shutdown()
    • getDir

      public File getDir()
    • toJson

      public com.google.gson.JsonObject toJson()
      Specified by:
      toJson in interface Serializable<Addon>
      Returns:
      The object as a JsonObject
    • fromJson

      public Addon fromJson(com.google.gson.JsonObject object)
      Specified by:
      fromJson in interface Serializable<Addon>
      Parameters:
      object - The JsonObject to deserialize
      Returns:
      The deserialized object