hudson.search
Class SuggestedItem
java.lang.Object
hudson.search.SuggestedItem
public class SuggestedItem
- extends Object
One item of a search result.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
item
public final SearchItem item
SuggestedItem
public SuggestedItem(SearchItem top)
SuggestedItem
public SuggestedItem(SuggestedItem parent,
SearchItem item)
getPath
public String getPath()
getUrl
public String getUrl()
- Gets the URL to this item.
- Returns:
- URL that starts with '/' but doesn't end with '/'.
The path is the combined path from the
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.
Copyright © 2004-2013. All Rights Reserved.