Class CommandCooldownSerializer

java.lang.Object
com.earth2me.essentials.config.serializers.CommandCooldownSerializer
All Implemented Interfaces:
org.spongepowered.configurate.serialize.TypeSerializer<CommandCooldown>

public class CommandCooldownSerializer extends Object implements org.spongepowered.configurate.serialize.TypeSerializer<CommandCooldown>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.spongepowered.configurate.serialize.TypeSerializer

    org.spongepowered.configurate.serialize.TypeSerializer.Annotated<V>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(Type type, org.spongepowered.configurate.ConfigurationNode node)
     
    void
    serialize(Type type, @Nullable CommandCooldown obj, org.spongepowered.configurate.ConfigurationNode node)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.spongepowered.configurate.serialize.TypeSerializer

    deserialize, emptyValue, emptyValue, serialize
  • Constructor Details

    • CommandCooldownSerializer

      public CommandCooldownSerializer()
  • Method Details

    • deserialize

      public CommandCooldown deserialize(Type type, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException
      Specified by:
      deserialize in interface org.spongepowered.configurate.serialize.TypeSerializer<CommandCooldown>
      Throws:
      org.spongepowered.configurate.serialize.SerializationException
    • serialize

      public void serialize(Type type, @Nullable CommandCooldown obj, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException
      Specified by:
      serialize in interface org.spongepowered.configurate.serialize.TypeSerializer<CommandCooldown>
      Throws:
      org.spongepowered.configurate.serialize.SerializationException