public class RestSearchResults extends RestSearchResponse implements SearchResults
Constructor and Description |
---|
RestSearchResults(int status,
int totalResults,
List<Search.Artifact> artifacts) |
Modifier and Type | Method and Description |
---|---|
List<Search.Artifact> |
getArtifacts() |
int |
getTotalHits() |
boolean |
ok() |
status
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
status
public RestSearchResults(int status, int totalResults, List<Search.Artifact> artifacts)
public boolean ok()
ok
in interface SearchResponse
ok
in class RestSearchResponse
public int getTotalHits()
getTotalHits
in interface SearchResults
public List<Search.Artifact> getArtifacts()
getArtifacts
in interface SearchResults
Copyright © 2020 Red Hat. All rights reserved.