Class ServerContainer


  • @Deprecated
    public class ServerContainer
    extends java.lang.Object
    Deprecated.
    Plan API v4 has been deprecated, use the APIv5 instead (https://github.com/plan-player-analytics/Plan/wiki/APIv5).
    Wrapper for a ServerContainer.

    The actual object is wrapped to avoid exposing too much API that might change. See ServerKeys for Key objects.

    The Keys might change in the future, but the Optional API should help dealing with those cases.

    • Constructor Detail

      • ServerContainer

        public ServerContainer​(ServerContainer container)
        Deprecated.
    • Method Detail

      • getValue

        public <T> java.util.Optional<T> getValue​(Key<T> key)
        Deprecated.