Package com.google.gerrit.server.events
Class ProjectNameKeySerializer
- java.lang.Object
-
- com.google.gerrit.server.events.ProjectNameKeySerializer
-
- All Implemented Interfaces:
com.google.gson.JsonSerializer<Project.NameKey>
public class ProjectNameKeySerializer extends Object implements com.google.gson.JsonSerializer<Project.NameKey>
-
-
Constructor Summary
Constructors Constructor Description ProjectNameKeySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElement
serialize(Project.NameKey project, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
serialize
public com.google.gson.JsonElement serialize(Project.NameKey project, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<Project.NameKey>
-
-