public class ProfilesPlugin extends ExtendedJavaPlugin implements ProfileRepository
| Constructor and Description |
|---|
ProfilesPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
enable() |
Collection<Profile> |
getKnownProfiles() |
Optional<Profile> |
getProfile(String name) |
Profile |
getProfile(UUID uniqueId) |
Promise<Collection<Profile>> |
lookupKnownProfiles() |
Promise<Optional<Profile>> |
lookupProfile(String name) |
Promise<Profile> |
lookupProfile(UUID uniqueId) |
Promise<Map<UUID,Profile>> |
lookupProfiles(Iterable<UUID> uniqueIds) |
Promise<Map<String,Profile>> |
lookupProfilesByName(Iterable<String> names) |
bind, bindComposite, bindRunnable, disable, getBundledFile, getClassloader, getPlugin, getService, load, loadConfig, loadConfigNode, onDisable, onEnable, onLoad, provideService, provideService, registerCommand, registerListenergetClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetProfiles, getProfilesByNameprotected void enable()
enable in class ExtendedJavaPlugin@Nonnull public Profile getProfile(@Nonnull UUID uniqueId)
getProfile in interface ProfileRepository@Nonnull public Optional<Profile> getProfile(@Nonnull String name)
getProfile in interface ProfileRepository@Nonnull public Collection<Profile> getKnownProfiles()
getKnownProfiles in interface ProfileRepository@Nonnull public Promise<Profile> lookupProfile(@Nonnull UUID uniqueId)
lookupProfile in interface ProfileRepository@Nonnull public Promise<Optional<Profile>> lookupProfile(@Nonnull String name)
lookupProfile in interface ProfileRepository@Nonnull public Promise<Collection<Profile>> lookupKnownProfiles()
lookupKnownProfiles in interface ProfileRepository@Nonnull public Promise<Map<UUID,Profile>> lookupProfiles(@Nonnull Iterable<UUID> uniqueIds)
lookupProfiles in interface ProfileRepository@Nonnull public Promise<Map<String,Profile>> lookupProfilesByName(@Nonnull Iterable<String> names)
lookupProfilesByName in interface ProfileRepositoryCopyright © 2017. All rights reserved.