public class SuggestedItem extends Object
Modifier and Type | Field and Description |
---|---|
SearchItem |
item |
Constructor and Description |
---|
SuggestedItem(SearchItem top) |
SuggestedItem(SuggestedItem parent,
SearchItem item) |
Modifier and Type | Method and Description |
---|---|
static SuggestedItem |
build(SearchableModelObject searchContext,
SearchItem si)
Given a SearchItem, builds a SuggestedItem hierarchy by looking up parent items (if applicable).
|
String |
getPath() |
String |
getUrl()
Gets the URL to this item.
|
public final SearchItem item
public SuggestedItem(SearchItem top)
public SuggestedItem(SuggestedItem parent, SearchItem item)
public String getPath()
public String getUrl()
SearchIndex
where the search started
to the final item found. Thus to convert to the actual URL, the caller would need
to prepend the URL of the object where the search started.public static SuggestedItem build(SearchableModelObject searchContext, SearchItem si)
ItemGroup
to be distinguished.
If provided searchContext is null, results will be interpreted from the root Jenkins
objectCopyright © 2004–2021. All rights reserved.