Skip to content

Commit

Permalink
docs: Updated docs to reference actually existing classes
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Oct 24, 2023
1 parent 00442ef commit 387daba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ The generated report will be available at ```target/site/jacoco/index.html```

## Configuration options

The `UnleashConfigBuilder` class (created via `UnleashConfig.builder()`) exposes a set of builder methods to configure your Unleash client. The available options are listed below with a description of what they do. For the full signatures, take a look at the [`UnleashConfig` class definition](src/main/java/io/getunleash/util/UnleashConfig.java).
The `UnleashConfig$Builder` class (created via `UnleashConfig.builder()`) exposes a set of builder methods to configure your Unleash client. The available options are listed below with a description of what they do. For the full signatures, take a look at the [`UnleashConfig` class definition](src/main/java/io/getunleash/util/UnleashConfig.java).


| Method name | Description | Required | Default value |
Expand Down Expand Up @@ -466,7 +466,7 @@ The `UnleashConfigBuilder` class (created via `UnleashConfig.builder()`) exposes
| `unleashAPI` | The URL of the Unleash API. | Yes | `null` |
| `unleashContextProvider` | An [Unleash context provider used to configure Unleash](#2-via-an-unleashcontextprovider). | No | `null` |
| `unleashFeatureFetcherFactory` | A factory providing a FeatureFetcher implementation. | No | [`HttpFeatureFetcher::new`](src/main/java/io/getunleash/repository/HttpFeatureFetcher.java) |
| `unleashMetricsSenderFactory` | A factory providing a MetricSender implementation. | No | [`JavaHttpMetricsSender::new`](src/main/java/io/getunleash/metric/JavaHttpMetricsSender.java) |
| `unleashMetricsSenderFactory` | A factory providing a MetricSender implementation. | No | [`DefaultHttpMetricsSender::new`](src/main/java/io/getunleash/metric/JavaHttpMetricsSender.java) |

When you have set all the desired options, initialize the configuration with the `build` method.
You can then pass the configuration to the Unleash client constructor.
Expand Down

0 comments on commit 387daba

Please sign in to comment.