public interface IJobsDelegator
Modifier and Type | Method and Description |
---|---|
java.util.List<IJob> |
getJobs(java.util.List<IFileSpec> fileSpecs,
GetJobsOptions opts)
Return a list of Perforce jobs.
|
java.util.List<IJob> |
getJobs(java.util.List<IFileSpec> fileSpecs,
int maxJobs,
boolean longDescriptions,
boolean reverseOrder,
boolean includeIntegrated,
java.lang.String jobView)
Return a list of Perforce jobs.
|
java.util.List<IJob> getJobs(java.util.List<IFileSpec> fileSpecs, int maxJobs, boolean longDescriptions, boolean reverseOrder, boolean includeIntegrated, java.lang.String jobView) throws ConnectionException, RequestException, AccessException
Note that this method (unlike the main file list methods) throws an exception and stops at the first encountered error.
fileSpecs
- if given, return only jobspecs affecting the given file(s)maxJobs
- if positive, return only up to maxJobs resultslongDescriptions
- if true, return full descriptions, otherwise show only a
subset (typically the first 128 characters, but this is not
guaranteed).reverseOrder
- if true, reverse the normal sort orderincludeIntegrated
- if true, include any fixes made by changelists integrated into
the specified filesjobView
- if non-null, a string in format detailed by "p4 help jobview"
used to restrict jobs to those satisfying the job view
expression.ConnectionException
- if the Perforce server is unreachable or is not connected.RequestException
- if the Perforce server encounters an error during its
processing of the requestAccessException
- if the Perforce server denies access to the callerjava.util.List<IJob> getJobs(java.util.List<IFileSpec> fileSpecs, GetJobsOptions opts) throws P4JavaException
Note that this method (unlike the main file list methods) throws an exception and stops at the first encountered error.
fileSpecs
- if given, return only jobspecs affecting the given file(s).opts
- GetJobsOptions object describing optional parameters; if null,
no options are set.P4JavaException
- if an error occurs processing this method and its parameters.