Package com.redwood.scheduler.api.search
Interface SearchResultSet
- 
 public interface SearchResultSetA search result set. The search results are initially positioned before the first result. Callnext()to see if there is a next result. The SearchResultSet is instantiated via search methods, for example JobFile.search().
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResultgetSearchResult()Get the search result.booleannext()Attempt to advance to the next result.
 
- 
- 
- 
Method Detail- 
nextboolean next() throws com.redwood.scheduler.api.exception.JobFileTransientException, com.redwood.scheduler.api.exception.JobFileExceptionAttempt to advance to the next result.- Returns:
- true if there was a next result, false otherwise.
- Throws:
- com.redwood.scheduler.api.exception.JobFileException- permanent error, cannot be recovered.
- com.redwood.scheduler.api.exception.JobFileTransientException- transient error, retry may work.
 
 - 
getSearchResultSearchResult getSearchResult() Get the search result.- Returns:
- the result.
 
 
- 
 
-