Class ServerOverviewJSONCreator
java.lang.Object
com.djrapitops.plan.delivery.rendering.json.ServerOverviewJSONCreator
- All Implemented Interfaces:
ServerTabJSONCreator<Map<String,
,Object>> Function<ServerUUID,
Map<String, Object>>
@Singleton
public class ServerOverviewJSONCreator
extends Object
implements ServerTabJSONCreator<Map<String,Object>>
Creates JSON payload for /server-page Server Overview tab.
-
Constructor Summary
ConstructorDescriptionServerOverviewJSONCreator
(PlanConfig config, Locale locale, DBSystem dbSystem, ServerInfo serverInfo, ServerSensor<?> serverSensor, ServerUptimeCalculator serverUptimeCalculator, Formatters formatters) -
Method Summary
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 Details
-
ServerOverviewJSONCreator
@Inject public ServerOverviewJSONCreator(PlanConfig config, Locale locale, DBSystem dbSystem, ServerInfo serverInfo, ServerSensor<?> serverSensor, ServerUptimeCalculator serverUptimeCalculator, Formatters formatters)
-
-
Method Details
-
createJSONAsMap
- Specified by:
createJSONAsMap
in interfaceServerTabJSONCreator<Map<String,
Object>>
-