Class PvPPvEJSONCreator
- java.lang.Object
-
- com.djrapitops.plan.delivery.rendering.json.PvPPvEJSONCreator
-
- All Implemented Interfaces:
ServerTabJSONCreator<java.util.Map<java.lang.String,java.lang.Object>>
,java.util.function.Function<ServerUUID,java.util.Map<java.lang.String,java.lang.Object>>
@Singleton public class PvPPvEJSONCreator extends java.lang.Object implements ServerTabJSONCreator<java.util.Map<java.lang.String,java.lang.Object>>
Creates JSON payload for /server-page PvP and PvE tab.
-
-
Constructor Summary
Constructors Constructor Description PvPPvEJSONCreator(DBSystem dbSystem, Formatters formatters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
createJSONAsMap(ServerUUID serverUUID)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.djrapitops.plan.delivery.rendering.json.ServerTabJSONCreator
apply
-
-
-
-
Constructor Detail
-
PvPPvEJSONCreator
@Inject public PvPPvEJSONCreator(DBSystem dbSystem, Formatters formatters)
-
-
Method Detail
-
createJSONAsMap
public java.util.Map<java.lang.String,java.lang.Object> createJSONAsMap(ServerUUID serverUUID)
- Specified by:
createJSONAsMap
in interfaceServerTabJSONCreator<java.util.Map<java.lang.String,java.lang.Object>>
-
-