Class SearchResult.Builder<T>
- java.lang.Object
-
- com.atlassian.confluence.api.model.search.SearchResult.Builder<T>
-
- Enclosing class:
- SearchResult<T>
public static class SearchResult.Builder<T> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResult.Builder
bodyExcerpt(String excerpt)
SearchResult<T>
build()
SearchResult.Builder
entityParentContainer(ContainerSummary entity)
SearchResult.Builder
friendlyLastModified(String friendlyLastModified)
protected Reference<T>
getEntityRef()
SearchResult.Builder
iconCssClass(String iconCssClass)
SearchResult.Builder
lastModified(org.joda.time.DateTime lastModified)
SearchResult.Builder
resultGlobalContainer(ContainerSummary space)
SearchResult.Builder
title(String title)
SearchResult.Builder
url(String url)
-
-
-
Constructor Detail
-
Builder
protected Builder(T entity)
-
-
Method Detail
-
entityParentContainer
public SearchResult.Builder entityParentContainer(ContainerSummary entity)
-
resultGlobalContainer
public SearchResult.Builder resultGlobalContainer(ContainerSummary space)
-
title
public SearchResult.Builder title(String title)
-
bodyExcerpt
public SearchResult.Builder bodyExcerpt(String excerpt)
-
url
public SearchResult.Builder url(String url)
-
iconCssClass
public SearchResult.Builder iconCssClass(String iconCssClass)
-
lastModified
public SearchResult.Builder lastModified(org.joda.time.DateTime lastModified)
-
friendlyLastModified
public SearchResult.Builder friendlyLastModified(String friendlyLastModified)
-
build
public SearchResult<T> build()
-
-