Class DataProviders
- java.lang.Object
-
- com.djrapitops.plan.extension.implementation.providers.DataProviders
-
public class DataProviders extends java.lang.Object
Group class for handling multiple different types ofDataProvider
s.
-
-
Constructor Summary
Constructors Constructor Description DataProviders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.List<DataProvider<T>>
getGroupMethodsByType(java.lang.Class<T> returnType)
<T> java.util.List<DataProvider<T>>
getPlayerMethodsByType(java.lang.Class<T> returnType)
<T> java.util.List<DataProvider<T>>
getProvidersByTypes(MethodType methodType, java.lang.Class<T> returnType)
<T> java.util.List<DataProvider<T>>
getServerMethodsByType(java.lang.Class<T> returnType)
void
put(DataProvider<?> provider)
<T> void
removeProviderWithMethod(MethodWrapper<T> toRemove)
-
-
-
Method Detail
-
put
public void put(DataProvider<?> provider)
-
getProvidersByTypes
public <T> java.util.List<DataProvider<T>> getProvidersByTypes(MethodType methodType, java.lang.Class<T> returnType)
-
getPlayerMethodsByType
public <T> java.util.List<DataProvider<T>> getPlayerMethodsByType(java.lang.Class<T> returnType)
-
getServerMethodsByType
public <T> java.util.List<DataProvider<T>> getServerMethodsByType(java.lang.Class<T> returnType)
-
getGroupMethodsByType
public <T> java.util.List<DataProvider<T>> getGroupMethodsByType(java.lang.Class<T> returnType)
-
removeProviderWithMethod
public <T> void removeProviderWithMethod(MethodWrapper<T> toRemove)
-
-