org.jclouds.openstack.nova.v2_0.config
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NovaParserModule.ServerAdapter
public NovaParserModule.ServerAdapter()
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)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.