public static interface ProviderInfoCollection.Builder
| Modifier and Type | Method and Description |
|---|---|
ProviderInfoCollection |
build(DefaultInfo info)
Build the
ProviderInfoCollection. |
ProviderInfoCollection.Builder |
put(ProviderInfo<?> info)
Add a new
ProviderInfo to the collection. |
ProviderInfoCollection.Builder put(ProviderInfo<?> info)
ProviderInfo to the collection. Multiple ProviderInfo objects with
the same Provider.Key should not be added.MutableObjectException - if info is still mutable.ProviderInfoCollection build(DefaultInfo info)
ProviderInfoCollection. The DefaultInfo must be specified here.IllegalArgumentException - if a two or more ProviderInfos have the same Provider.KeyMutableObjectException - if info is still mutable.