org.bukkit.plugin
Class RegisteredServiceProvider<T>
java.lang.Object
org.bukkit.plugin.RegisteredServiceProvider<T>
- Type Parameters:
T
- Service
- All Implemented Interfaces:
- Comparable<RegisteredServiceProvider<?>>
public class RegisteredServiceProvider<T>
- extends Object
- implements Comparable<RegisteredServiceProvider<?>>
A registered service provider.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegisteredServiceProvider
public RegisteredServiceProvider(Class<T> service,
T provider,
ServicePriority priority,
Plugin plugin)
getService
public Class<T> getService()
getPlugin
public Plugin getPlugin()
getProvider
public T getProvider()
getPriority
public ServicePriority getPriority()
compareTo
public int compareTo(RegisteredServiceProvider<?> other)
- Specified by:
compareTo
in interface Comparable<RegisteredServiceProvider<?>>
Copyright © 2013. All Rights Reserved.