public final class ConfigData extends ObjectSE
ConfigDataLocationResolver
, ConfigDataLoader
修飾子と型 | クラスと説明 |
---|---|
static class | ConfigData.Option 適用できるオプションフラグ。 |
static class | ConfigData.Options ConfigData.Option フラグのセット。 |
static interface | ConfigData.PropertySourceOptions 特定の PropertySource に ConfigData.Options を供給するために使用される戦略インターフェース。 |
修飾子と型 | フィールドと説明 |
---|---|
static ConfigData | EMPTY データを含まない ConfigData インスタンス。 |
コンストラクターと説明 |
---|
ConfigData(CollectionSE<? extends PropertySource<?>> propertySources, ConfigData.Option... options) 各ソースに同じオプションを適用して、新しい ConfigData インスタンスを作成します。 |
ConfigData(CollectionSE<? extends PropertySource<?>> propertySources, ConfigData.PropertySourceOptions propertySourceOptions) 特定のプロパティソースオプションを使用して、新しい ConfigData インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
SetSE<ConfigData.Option> | getOptions() 使用すべきではありません。 2.4.5 以降、 getOptions(PropertySource) を推奨 |
ConfigData.Options | getOptions(PropertySource<?> propertySource) 指定されたソースに適用される config data options を返します。 |
ListSE<PropertySource<?>> | getPropertySources() 構成データのプロパティソースを優先度の昇順で返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static final ConfigData EMPTY
ConfigData
インスタンス。public ConfigData(CollectionSE<? extends PropertySource<?>> propertySources, ConfigData.Option... options)
ConfigData
インスタンスを作成します。propertySources
- 優先度が昇順の構成データプロパティソース。options
- 各ソースに適用される構成データオプション ConfigData(Collection, PropertySourceOptions)
public ConfigData(CollectionSE<? extends PropertySource<?>> propertySources, ConfigData.PropertySourceOptions propertySourceOptions)
ConfigData
インスタンスを作成します。propertySources
- 優先度が昇順の構成データプロパティソース。propertySourceOptions
- プロパティソースオプション public ListSE<PropertySource<?>> getPropertySources()
@DeprecatedSE public SetSE<ConfigData.Option> getOptions()
getOptions(PropertySource)
を推奨する 2.4.5 以降 config data options
のセットを返します。public ConfigData.Options getOptions(PropertySource<?> propertySource)
config data options
を返します。propertySource
- チェックするプロパティソース