Class CustomDeserializers.JobStateAdapter

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<JobState>
    Enclosing class:
    CustomDeserializers

    public static class CustomDeserializers.JobStateAdapter
    extends Object
    implements com.google.gson.JsonDeserializer<JobState>
    • Constructor Detail

      • JobStateAdapter

        public JobStateAdapter()
    • Method Detail

      • deserialize

        public JobState deserialize​(com.google.gson.JsonElement jsonElement,
                                    Type type,
                                    com.google.gson.JsonDeserializationContext context)
                             throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<JobState>
        Throws:
        com.google.gson.JsonParseException