@Singleton
public class JSONFactory
extends java.lang.Object
Constructor and Description |
---|
JSONFactory(PlanConfig config,
Locale locale,
DBSystem dbSystem,
ServerInfo serverInfo,
Graphs graphs,
Formatters formatters) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
networkPlayersTableJSON() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
networkSessionsAsJSONMap() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
pingPerGeolocation() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
pingPerGeolocation(java.util.UUID serverUUID) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
serverPlayerKillsAsJSONMap(java.util.UUID serverUUID) |
java.lang.String |
serverPlayersTableJSON(java.util.UUID serverUUID) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
serversAsJSONMaps() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
serverSessionsAsJSONMap(java.util.UUID serverUUID) |
@Inject public JSONFactory(PlanConfig config, Locale locale, DBSystem dbSystem, ServerInfo serverInfo, Graphs graphs, Formatters formatters)
public java.lang.String serverPlayersTableJSON(java.util.UUID serverUUID)
public java.lang.String networkPlayersTableJSON()
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> serverSessionsAsJSONMap(java.util.UUID serverUUID)
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> networkSessionsAsJSONMap()
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> serverPlayerKillsAsJSONMap(java.util.UUID serverUUID)
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> serversAsJSONMaps()
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> pingPerGeolocation(java.util.UUID serverUUID)
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> pingPerGeolocation()