Class Datapoint<T>

java.lang.Object
net.swofty.data.Datapoint<T>
Direct Known Subclasses:
DatapointBoolean, DatapointDouble, DatapointFloat, DatapointGamemode, DatapointInteger, DatapointInventory, DatapointMissionData, DatapointRank, DatapointString

public abstract class Datapoint<T> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setUser

      public Datapoint<T> setUser(DataHandler dataHandler)
    • setData

      public Datapoint<T> setData(DataHandler.Data data)
    • getSerializedValue

      public String getSerializedValue() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • deserializeValue

      public void deserializeValue(String json) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • setValue

      public void setValue(T value)