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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable(FeatureContext.Disabling context) Disables thisBoxFeature.voidenable(FeatureContext.Enabling context) Enables thisBoxFeature.@NotNull AutoStoreSettingProviderGets aAutoStoreSettingProvider.Methods inherited from class net.okocraft.box.api.feature.AbstractBoxFeature
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:BoxFeatureEnables thisBoxFeature.- Parameters:
context- theFeatureContext.Enablingcontext
-
disable
Description copied from interface:BoxFeatureDisables thisBoxFeature.- Parameters:
context- theFeatureContext.Disablingcontext
-
getAutoStoreSettingProvider
Gets aAutoStoreSettingProvider.- Returns:
- a
AutoStoreSettingProvider
-