java.lang.Object
com.google.gson.TypeAdapter<org.mule.runtime.api.meta.MuleVersion>
org.mule.runtime.extension.internal.persistence.MuleVersionTypeAdapter

public class MuleVersionTypeAdapter extends com.google.gson.TypeAdapter<org.mule.runtime.api.meta.MuleVersion>
TypeAdapter implementation which serializes MuleVersion instances
Since:
1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mule.runtime.api.meta.MuleVersion
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, org.mule.runtime.api.meta.MuleVersion muleVersion)
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MuleVersionTypeAdapter

      public MuleVersionTypeAdapter()
  • Method Details

    • write

      public void write(com.google.gson.stream.JsonWriter out, org.mule.runtime.api.meta.MuleVersion muleVersion) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<org.mule.runtime.api.meta.MuleVersion>
      Throws:
      IOException
    • read

      public org.mule.runtime.api.meta.MuleVersion read(com.google.gson.stream.JsonReader in) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<org.mule.runtime.api.meta.MuleVersion>
      Throws:
      IOException