public class PatchedSearchNGResponse extends org.sonatype.nexus.rest.model.NexusIndexerResponse implements Serializable
| Constructor and Description |
|---|
PatchedSearchNGResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(org.sonatype.nexus.rest.model.NexusNGArtifact nexusNGArtifact)
Method addData.
|
void |
addRepoDetail(org.sonatype.nexus.rest.model.NexusNGRepositoryDetail nexusNGRepositoryDetail)
Method addRepoDetail.
|
int |
getCount()
Get the number of results in this response.
|
List<org.sonatype.nexus.rest.model.NexusNGArtifact> |
getData()
Method getData.
|
int |
getFrom()
Get the starting index of the results.
|
List<org.sonatype.nexus.rest.model.NexusNGRepositoryDetail> |
getRepoDetails()
Method getRepoDetails.
|
int |
getTotalCount()
Get the grand total number of results found on index.
|
boolean |
isCollapsed()
Get flag that states if result set is collapsed, and shows
latest versions only.
|
boolean |
isTooManyResults()
Get flag that states if too many results were found.
|
void |
removeData(org.sonatype.nexus.rest.model.NexusNGArtifact nexusNGArtifact)
Method removeData.
|
void |
removeRepoDetail(org.sonatype.nexus.rest.model.NexusNGRepositoryDetail nexusNGRepositoryDetail)
Method removeRepoDetail.
|
void |
setCollapsed(boolean collapsed)
Set flag that states if result set is collapsed, and shows
latest versions only.
|
void |
setCount(int count)
Set the number of results in this response.
|
void |
setData(List<org.sonatype.nexus.rest.model.NexusNGArtifact> data)
Set list of found artifacts.
|
void |
setFrom(int from)
Set the starting index of the results.
|
void |
setRepoDetails(List<org.sonatype.nexus.rest.model.NexusNGRepositoryDetail> repoDetails)
Set list of repositories artifacts found in.
|
void |
setTooManyResults(boolean tooManyResults)
Set flag that states if too many results were found.
|
void |
setTotalCount(int totalCount)
Set the grand total number of results found on index.
|
public void addData(org.sonatype.nexus.rest.model.NexusNGArtifact nexusNGArtifact)
nexusNGArtifact - public void addRepoDetail(org.sonatype.nexus.rest.model.NexusNGRepositoryDetail nexusNGRepositoryDetail)
nexusNGRepositoryDetail - public int getCount()
public List<org.sonatype.nexus.rest.model.NexusNGArtifact> getData()
public int getFrom()
public List<org.sonatype.nexus.rest.model.NexusNGRepositoryDetail> getRepoDetails()
public int getTotalCount()
public boolean isCollapsed()
public boolean isTooManyResults()
public void removeData(org.sonatype.nexus.rest.model.NexusNGArtifact nexusNGArtifact)
nexusNGArtifact - public void removeRepoDetail(org.sonatype.nexus.rest.model.NexusNGRepositoryDetail nexusNGRepositoryDetail)
nexusNGRepositoryDetail - public void setCollapsed(boolean collapsed)
collapsed - public void setCount(int count)
count - public void setData(List<org.sonatype.nexus.rest.model.NexusNGArtifact> data)
data - public void setFrom(int from)
from - public void setRepoDetails(List<org.sonatype.nexus.rest.model.NexusNGRepositoryDetail> repoDetails)
repoDetails - public void setTooManyResults(boolean tooManyResults)
tooManyResults - public void setTotalCount(int totalCount)
totalCount - Copyright © 2016–2017. All rights reserved.