com.carrotsearch.ant.tasks.junit4.listeners.json
Class JsonSlaveInfoAdapter

java.lang.Object
  extended by com.carrotsearch.ant.tasks.junit4.listeners.json.JsonSlaveInfoAdapter
All Implemented Interfaces:
com.google.gson.JsonSerializer<SlaveInfo>

public class JsonSlaveInfoAdapter
extends Object
implements com.google.gson.JsonSerializer<SlaveInfo>

Serialization of SlaveInfo.


Constructor Summary
JsonSlaveInfoAdapter()
           
 
Method Summary
 com.google.gson.JsonElement serialize(SlaveInfo e, Type type, com.google.gson.JsonSerializationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonSlaveInfoAdapter

public JsonSlaveInfoAdapter()
Method Detail

serialize

public com.google.gson.JsonElement serialize(SlaveInfo e,
                                             Type type,
                                             com.google.gson.JsonSerializationContext context)
Specified by:
serialize in interface com.google.gson.JsonSerializer<SlaveInfo>


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.