Package com.djrapitops.plan.api.data
Class ServerContainer
- java.lang.Object
-
- com.djrapitops.plan.api.data.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 Summary
Constructors Constructor Description ServerContainer(ServerContainer container)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> java.util.Optional<T>
getValue(Key<T> key)
Deprecated.
-
-
-
Constructor Detail
-
ServerContainer
public ServerContainer(ServerContainer container)
Deprecated.
-
-
Method Detail
-
getValue
public <T> java.util.Optional<T> getValue(Key<T> key)
Deprecated.
-
-