Class OnlineActivityOverviewJSONCreator

  • 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 OnlineActivityOverviewJSONCreator
    extends java.lang.Object
    implements ServerTabJSONCreator<java.util.Map<java.lang.String,​java.lang.Object>>
    Creates JSON payload for /server-page Online Activity Overview tab.
    • Constructor Detail

      • OnlineActivityOverviewJSONCreator

        @Inject
        public OnlineActivityOverviewJSONCreator​(PlanConfig config,
                                                 DBSystem dbSystem,
                                                 Formatters formatters)
    • Method Detail

      • createJSONAsMap

        public java.util.Map<java.lang.String,​java.lang.Object> createJSONAsMap​(ServerUUID serverUUID)
        Specified by:
        createJSONAsMap in interface ServerTabJSONCreator<java.util.Map<java.lang.String,​java.lang.Object>>