Class PluginKeyManager
java.lang.Object
io.github.projectunified.minelib.util.key.AbstractKeyManager
io.github.projectunified.minelib.util.key.PluginKeyManager
- All Implemented Interfaces:
KeyManager
A
KeyManager
for the Plugin
-
Constructor Summary
ConstructorDescriptionPluginKeyManager
(org.bukkit.plugin.Plugin plugin) Create a newNamespacedKey
manager -
Method Summary
Methods inherited from class io.github.projectunified.minelib.util.key.AbstractKeyManager
createKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.projectunified.minelib.util.key.KeyManager
createKeyPair, createKeyPair
-
Constructor Details
-
PluginKeyManager
public PluginKeyManager(org.bukkit.plugin.Plugin plugin) Create a newNamespacedKey
manager- Parameters:
plugin
- the holder plugin
-
-
Method Details
-
newKey
Description copied from class:AbstractKeyManager
Create a new key- Specified by:
newKey
in classAbstractKeyManager
- Parameters:
key
- the key- Returns:
- the new key
-