public class JkCoordinateSearch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LUCENE_API_STANDARD_PATH
Nexus repositories generally provide a rest API for querying in lucene style.
|
Modifier and Type | Method and Description |
---|---|
static JkCoordinateSearch |
of() |
static JkCoordinateSearch |
of(JkRepo repo) |
java.util.List<java.lang.String> |
search() |
JkCoordinateSearch |
setApiUrl(java.lang.String url) |
JkCoordinateSearch |
setGroupOrNameCriteria(java.lang.String groupOrNameCriteria)
Sets the group or name criteria for the search.
|
JkCoordinateSearch |
setTimeout(int timeout)
Sets the timeout for the search operation.
|
public static final java.lang.String LUCENE_API_STANDARD_PATH
public static JkCoordinateSearch of()
public static JkCoordinateSearch of(JkRepo repo)
public JkCoordinateSearch setApiUrl(java.lang.String url)
public JkCoordinateSearch setTimeout(int timeout)
timeout
- the timeout duration in millisecondspublic JkCoordinateSearch setGroupOrNameCriteria(java.lang.String groupOrNameCriteria)
groupOrNameCriteria
- the group or name pattern to be used as a search criterion.
Example: 'org.springframework.boot:spring-boot-dependencies::'JkCoordinateSearch
for method chainingpublic java.util.List<java.lang.String> search()