Interface ServiceProvider<T>
- Type Parameters:
T- the type of the service
public interface ServiceProvider<T>
A service provider, containing information about a service implementation.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the service instance.Returns the plugin providing the service.Returns the priority of the service.Returns the service type.
-
Method Details
-
getPlugin
MindustryPlugin getPlugin()Returns the plugin providing the service. -
getService
Returns the service type. -
getInstance
T getInstance()Returns the service instance. -
getPriority
Priority getPriority()Returns the priority of the service.
-