public static final class PlatformConfigNamedProvider.Finder extends Object
PlatformConfig
by their
names configured in standard fields. the find* methods use the standard
fields while the find*BackwardsCompatible methods also look in the legacy
fields.Modifier and Type | Method and Description |
---|---|
static <T extends PlatformConfigNamedProvider> |
find(String name,
String moduleName,
Class<T> clazz,
PlatformConfig platformConfig)
Find the provider among the
providers based on its name , or
if name is null find the default provider like @{link findDefault} |
static <T extends PlatformConfigNamedProvider> |
findBackwardsCompatible(String name,
String moduleName,
Class<T> clazz,
PlatformConfig platformConfig)
|
static <T extends PlatformConfigNamedProvider> |
findDefault(String moduleName,
Class<T> clazz,
PlatformConfig platformConfig)
Find the default provider configured in the standard field of
moduleName in platformConfig among the providers
arguments based on its name. |
static <T extends PlatformConfigNamedProvider> |
findDefaultBackwardsCompatible(String moduleName,
Class<T> clazz,
PlatformConfig platformConfig)
Deprecated.
|
public static <T extends PlatformConfigNamedProvider> T findDefault(String moduleName, Class<T> clazz, PlatformConfig platformConfig)
moduleName
in platformConfig
among the providers
arguments based on its name.public static <T extends PlatformConfigNamedProvider> T find(String name, String moduleName, Class<T> clazz, PlatformConfig platformConfig)
providers
based on its name
, or
if name
is null find the default provider like @{link findDefault}@Deprecated public static <T extends PlatformConfigNamedProvider> T findDefaultBackwardsCompatible(String moduleName, Class<T> clazz, PlatformConfig platformConfig)
findDefault(java.lang.String, java.lang.Class<T>, com.powsybl.commons.config.PlatformConfig)
insteadmoduleName
in platformConfig
among the
providers
arguments based on its name.@Deprecated public static <T extends PlatformConfigNamedProvider> T findBackwardsCompatible(String name, String moduleName, Class<T> clazz, PlatformConfig platformConfig)
find(java.lang.String, java.lang.String, java.lang.Class<T>, com.powsybl.commons.config.PlatformConfig)
insteadproviders
based on its name
, or
if name
is null find the default provider like @{link
findDefaultBackwardsCompatible}Copyright © 2020. All rights reserved.