@PublicSpi
public interface SafeModeManager
DefaultSafeModeManager should be suitable for most implementations| Modifier and Type | Field and Description |
|---|---|
static SafeModeManager |
START_ALL_PLUGINS
Default implementation of safe mode manager
Just a convenient way to start all the plugins skipping all checks
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInSafeMode() |
boolean |
pluginShouldBeStarted(Plugin plugin,
Iterable<ModuleDescriptor> descriptors)
This checks if a plugin should be started when safe-mode is on
|
static final SafeModeManager START_ALL_PLUGINS
boolean pluginShouldBeStarted(Plugin plugin, Iterable<ModuleDescriptor> descriptors)
plugin - to be checked if it should be starteddescriptors - list of module descriptors to find the plugin references that must be started in safe mode
(this is kinda tricky way to do such search, but the only available at the startup phase)boolean isInSafeMode()
Copyright © 2019 Atlassian. All rights reserved.