Package com.djrapitops.plan.capability
Class CapabilitySvc
java.lang.Object
com.djrapitops.plan.capability.CapabilitySvc
- All Implemented Interfaces:
CapabilityService
Singleton instance implementation for
CapabilityService.
Only one instance exists per runtime in order to notify others when the plugin enables.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.djrapitops.plan.capability.CapabilityService
CapabilityService.ListHolder -
Method Summary
Modifier and TypeMethodDescriptionstatic voidnotifyAboutEnable(boolean isEnabled) Implementation detail.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.djrapitops.plan.capability.CapabilityService
hasCapability, registerEnableListener
-
Method Details
-
notifyAboutEnable
public static void notifyAboutEnable(boolean isEnabled) Implementation detail.- Parameters:
isEnabled- Did the plugin enable properly.
-