Class AutoStoreFeature
java.lang.Object
net.okocraft.box.api.feature.AbstractBoxFeature
net.okocraft.box.feature.autostore.AutoStoreFeature
- All Implemented Interfaces:
BoxFeature
A
BoxFeature
that provides autostore feature.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disable
(FeatureContext.Disabling context) Disables thisBoxFeature
.void
enable
(FeatureContext.Enabling context) Enables thisBoxFeature
.@NotNull AutoStoreSettingProvider
Gets aAutoStoreSettingProvider
.Methods inherited from class net.okocraft.box.api.feature.AbstractBoxFeature
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.okocraft.box.api.feature.BoxFeature
getDependencies
-
Constructor Details
-
AutoStoreFeature
The constructor ofAutoStoreFeature
.- Parameters:
context
- a context ofFeatureContext.Registration
-
-
Method Details
-
enable
Description copied from interface:BoxFeature
Enables thisBoxFeature
.- Parameters:
context
- theFeatureContext.Enabling
context
-
disable
Description copied from interface:BoxFeature
Disables thisBoxFeature
.- Parameters:
context
- theFeatureContext.Disabling
context
-
getAutoStoreSettingProvider
Gets aAutoStoreSettingProvider
.- Returns:
- a
AutoStoreSettingProvider
-