File tree 1 file changed +20
-0
lines changed
src/main/java/org/gitlab4j/api
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ public String getApiNamespace() {
81
81
private RepositoryApi repositoryApi ;
82
82
private RepositoryFileApi repositoryFileApi ;
83
83
private RunnersApi runnersApi ;
84
+ private SearchApi searchApi ;
84
85
private ServicesApi servicesApi ;
85
86
private SessionApi sessionApi ;
86
87
private SnippetsApi snippetsApi ;
@@ -1462,6 +1463,25 @@ public RunnersApi getRunnersApi() {
1462
1463
return (runnersApi );
1463
1464
}
1464
1465
1466
+ /**
1467
+ * Gets the SearchApi instance owned by this GitLabApi instance. The SearchApi is used
1468
+ * to perform search related API calls.
1469
+ *
1470
+ * @return the SearchApi instance owned by this GitLabApi instance
1471
+ */
1472
+ public SearchApi getSearchApi () {
1473
+
1474
+ if (searchApi == null ) {
1475
+ synchronized (this ) {
1476
+ if (searchApi == null ) {
1477
+ searchApi = new SearchApi (this );
1478
+ }
1479
+ }
1480
+ }
1481
+
1482
+ return (searchApi );
1483
+ }
1484
+
1465
1485
/**
1466
1486
* Gets the ServicesApi instance owned by this GitLabApi instance. The ServicesApi is used
1467
1487
* to perform all services related API calls.
You can’t perform that action at this time.
0 commit comments