Class NovaParserModule.ServerAdapter

java.lang.Object
org.jclouds.openstack.nova.v2_0.config.NovaParserModule.ServerAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Server>
Enclosing class:
NovaParserModule

@Singleton public static class NovaParserModule.ServerAdapter extends Object implements com.google.gson.JsonDeserializer<Server>
  • Constructor Details

    • ServerAdapter

      public ServerAdapter()
  • Method Details

    • deserialize

      public Server 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<Server>
      Throws:
      com.google.gson.JsonParseException
    • apply

      public Server apply(Server in)