public abstract class ConfigBasedAllowsDisablePlugin extends Object implements AllowsDisablePlugin
Constructor and Description |
---|
ConfigBasedAllowsDisablePlugin(Class<? extends Configuration> configClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled(CoreConfiguration config)
controls if this instance is active
|
public ConfigBasedAllowsDisablePlugin(Class<? extends Configuration> configClass)
public final boolean enabled(@NonNull CoreConfiguration config)
AllowsDisablePlugin
enabled
in interface AllowsDisablePlugin
config
- the current config