ProviderContext instances. Instances of
this class are not thread-safe.
| Access | Constructor and Description |
|---|---|
| private | ProviderContextBuilder(String
the provider name, not provider, RateType rateType, RateType... null.the rate types, not null and not empty. rateTypes)Create a new Builder instance. |
| private | ProviderContextBuilder(String
the provider name, not provider, Collection<RateType> null.the rate types, not null and not empty. rateTypes)Create a new Builder instance. |
| private | ProviderContextBuilder(ProviderContext
the context, not context)nullCreate a new Builder, hereby using the given |
| Modifier and Type | Method and Description |
|---|---|
| public ProviderContext | build()
Implements abstract javax. ProviderContext with the data from this Builder
instance.
|
| public static ProviderContextBuilder | Returns: a newjavax.money.convert.ProviderContextBuilder instance, never null.the context, not context)nullCreate a new ProviderContextBuilder, hereby using the given |
| public static ProviderContextBuilder | |
| public static ProviderContextBuilder | Returns: a newjavax.money.convert.ProviderContextBuilder instance, never null.the provider name, not provider, Collection<RateType> null.the rate types, not null and not empty. rateTypes)Create a new ProviderContextBuilder instance. |
| public ProviderContextBuilder | Returns: this, for chaining.the rate types, not null and not empty. rateTypes)Set the rate types. |
| public ProviderContextBuilder | Returns: this, for chaining.the rate types, not null and not empty. rateTypes)Set the rate types. |
| ProviderContextBuilder | back to summary |
|---|---|
| private ProviderContextBuilder(String provider, RateType rateType, RateType... rateTypes) Create a new Builder instance. | |
| ProviderContextBuilder | back to summary |
|---|---|
| private ProviderContextBuilder(String provider, Collection<RateType> rateTypes) Create a new Builder instance.
| |
| ProviderContextBuilder | back to summary |
|---|---|
| private ProviderContextBuilder(ProviderContext context) Create a new Builder, hereby using the given
| |
| build | back to summary |
|---|---|
| public ProviderContext build() Implements abstract javax. Creates a new
| |
| create | back to summary |
|---|---|
| public static ProviderContextBuilder create(ProviderContext context) Create a new ProviderContextBuilder, hereby using the given
| |
| of | back to summary |
|---|---|
| public static ProviderContextBuilder of(String provider, RateType rateType, RateType... rateTypes) Create a new ProviderContextBuilder instance.
| |
| of | back to summary |
|---|---|
| public static ProviderContextBuilder of(String provider, Collection<RateType> rateTypes) Create a new ProviderContextBuilder instance.
| |
| setRateTypes | back to summary |
|---|---|
| public ProviderContextBuilder setRateTypes(RateType... rateTypes) Set the rate types.
| |
| setRateTypes | back to summary |
|---|---|
| public ProviderContextBuilder setRateTypes(Collection<RateType> rateTypes) Set the rate types.
| |