public class SearchDelegator extends BaseDelegator implements ISearchDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
SearchDelegator(IOptionsServer server)
Instantiate a new SearchDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
searchJobs(java.lang.String words,
SearchJobsOptions opts)
Search for jobs that contain the specified words in the search engine's
index.
|
public SearchDelegator(IOptionsServer server)
server
- a concrete implementation of a Perforce Helix Serverpublic java.util.List<java.lang.String> searchJobs(java.lang.String words, SearchJobsOptions opts) throws P4JavaException
ISearchDelegator
Note that this is an 'undoc' Perforce command.
See also 'p4 help index'.
searchJobs
in interface ISearchDelegator
words
- non-null words to be searched.opts
- SearchJobsOptions object describing optional parameters; if
null, no options are set.P4JavaException
- if an error occurs processing this method and its parameters.