Package com.xpdustry.distributor.service
Interface ServiceManager.Provider<T>
- Enclosing interface:
- ServiceManager
@Immutable
public static sealed interface ServiceManager.Provider<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetClazz()static <T> ServiceManager.Provider<T>of(MindustryPlugin plugin, Class<T> clazz, Priority priority, T instance)
-
Method Details
-
of
static <T> ServiceManager.Provider<T> of(MindustryPlugin plugin, Class<T> clazz, Priority priority, T instance) -
getPlugin
MindustryPlugin getPlugin() -
getClazz
-
getPriority
Priority getPriority() -
getInstance
T getInstance()
-