@Singleton public static class NovaParserModule.ImageAdapter extends Object implements com.google.gson.JsonDeserializer<Image>
Modifier and Type | Field and Description |
---|---|
static String |
BLOCK_DEVICE_MAPPING |
static String |
METADATA |
Constructor and Description |
---|
NovaParserModule.ImageAdapter() |
Modifier and Type | Method and Description |
---|---|
Image |
apply(org.jclouds.openstack.nova.v2_0.config.NovaParserModule.ImageAdapter.ImageInternal in,
Map<String,String> metadata,
List<BlockDeviceMapping> blockDeviceMapping) |
Image |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext context) |
public static final String METADATA
public static final String BLOCK_DEVICE_MAPPING
public Image deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Image>
com.google.gson.JsonParseException
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.