Skip to content

Commit e842ec1

Browse files
algolia-botmillotp
andcommitted
fix(java): use batch and class in playground and doc
algolia/api-clients-automation#696 Co-authored-by: Pierre Millot <[email protected]>
1 parent 2628c92 commit e842ec1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

algoliasearch-core/src/main/java/com/algolia/utils/ClientOptions.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ public ClientOptions addAlgoliaAgentSegment(String value, String version) {
4646
return this;
4747
}
4848

49+
public ClientOptions addAlgoliaAgentSegment(String value) {
50+
this.algoliaAgentSegments.add(new AlgoliaAgent.Segment(value));
51+
return this;
52+
}
53+
4954
public List<StatefulHost> getHosts() {
5055
return this.hosts;
5156
}

0 commit comments

Comments
 (0)