Class VaultIntegration
java.lang.Object
co.crystaldev.alpinecore.framework.integration.AlpineIntegration
co.crystaldev.alpinecore.integration.VaultIntegration
- All Implemented Interfaces:
Activatable
,org.bukkit.event.Listener
A bundled integration of the Vault API.
Allows Alpine plugins to integrate Vault with minimal code and without requiring its API to be added as a dependency to their project.
- Since:
- 0.1.0
-
Nested Class Summary
-
Field Summary
Fields inherited from class co.crystaldev.alpinecore.framework.integration.AlpineIntegration
plugin
-
Method Summary
Modifier and TypeMethodDescription@Nullable VaultIntegration.VaultEngine
protected @NotNull Class<? extends AlpineIntegrationEngine>
protected boolean
Sets the activation condition for the integration.Methods inherited from class co.crystaldev.alpinecore.framework.integration.AlpineIntegration
activate, checkActivation, deactivate, isActive, onPluginDisabled, onPluginEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.crystaldev.alpinecore.framework.Activatable
canDeactivate
-
Method Details
-
shouldActivate
protected boolean shouldActivate()Description copied from class:AlpineIntegration
Sets the activation condition for the integration.- Specified by:
shouldActivate
in classAlpineIntegration
- Returns:
- Whether the integration should be activated
-
getEngineClass
- Specified by:
getEngineClass
in classAlpineIntegration
- Returns:
- The class of the engine for this integration
-
getEngine
-