Class ServerContainer

java.lang.Object
com.djrapitops.plan.api.data.ServerContainer

@Deprecated public class ServerContainer extends 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 Details

    • ServerContainer

      public ServerContainer(ServerContainer container)
      Deprecated.
  • Method Details

    • getValue

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