public final class ConfigurableExtensionPointUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<Configurable> |
buildConfigurablesList(java.util.List<? extends ConfigurableEP<Configurable>> extensions,
ConfigurableFilter filter) |
static Configurable |
createApplicationConfigurableForProvider(java.lang.Class<? extends ConfigurableProvider> providerClass) |
static Configurable |
createProjectConfigurableForProvider(Project project,
java.lang.Class<? extends ConfigurableProvider> providerClass) |
static java.util.ResourceBundle |
getBundle(java.lang.String resource,
java.lang.Iterable<? extends Configurable> configurables,
java.util.ResourceBundle alternative) |
static ConfigurableGroup |
getConfigurableGroup(java.util.List<? extends Configurable> configurables,
Project project) |
static ConfigurableGroup |
getConfigurableGroup(Project project,
boolean withIdeSettings) |
static java.util.Map<java.lang.String,java.util.List<Configurable>> |
groupConfigurables(java.util.List<? extends Configurable> configurables) |
public static java.util.List<Configurable> buildConfigurablesList(java.util.List<? extends ConfigurableEP<Configurable>> extensions, ConfigurableFilter filter)
public static ConfigurableGroup getConfigurableGroup(Project project, boolean withIdeSettings)
project
- a project used to load project settings or null
withIdeSettings
- specifies whether to load application settings or notpublic static ConfigurableGroup getConfigurableGroup(java.util.List<? extends Configurable> configurables, Project project)
configurables
- a list of settings to processproject
- a project used to create a project settings group or null
public static java.util.Map<java.lang.String,java.util.List<Configurable>> groupConfigurables(java.util.List<? extends Configurable> configurables)
configurables
- a list of settings to processpublic static java.util.ResourceBundle getBundle(java.lang.String resource, java.lang.Iterable<? extends Configurable> configurables, java.util.ResourceBundle alternative)
public static Configurable createProjectConfigurableForProvider(Project project, java.lang.Class<? extends ConfigurableProvider> providerClass)
public static Configurable createApplicationConfigurableForProvider(java.lang.Class<? extends ConfigurableProvider> providerClass)