public class FixesDelegator extends BaseDelegator implements IFixesDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
FixesDelegator(IOptionsServer server)
Instantiates a new fixes delegator.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IFix> |
getFixes(java.util.List<IFileSpec> fileSpecs,
GetFixesOptions opts)
Return a list of all Perforce jobs with fix records associated with them,
along with the changelist number of the fix.
|
java.util.List<IFix> |
getFixList(java.util.List<IFileSpec> fileSpecs,
int changeListId,
java.lang.String jobId,
boolean includeIntegrations,
int maxFixes)
Return a list of all Perforce jobs with fix records associated with them,
along with the changelist number of the fix.
|
public FixesDelegator(IOptionsServer server)
server
- the serverpublic java.util.List<IFix> getFixList(java.util.List<IFileSpec> fileSpecs, int changeListId, java.lang.String jobId, boolean includeIntegrations, int maxFixes) throws ConnectionException, RequestException, AccessException
IFixesDelegator
Note that this method (unlike the main file list methods) throws an exception and stops at the first encountered error.
getFixList
in interface IFixesDelegator
fileSpecs
- if given, restrict output to fixes associated with these fileschangeListId
- if positive, only fixes from the numbered changelist are
listed.jobId
- if non-null, only fixes for the named job are listedincludeIntegrations
- if true, include any fixes made by changelists integrated into
the specified filesmaxFixes
- if positive, restrict the list to the first maxFixes fixesConnectionException
- 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 callerpublic java.util.List<IFix> getFixes(java.util.List<IFileSpec> fileSpecs, GetFixesOptions opts) throws P4JavaException
IFixesDelegator
Note that this method (unlike the main file list methods) throws an exception and stops at the first encountered error.
getFixes
in interface IFixesDelegator
fileSpecs
- if given, restrict output to fixes associated with these filesopts
- FixListOptions object describing optional parameters; if null,
no options are setP4JavaException
- if any error occurs in the processing of this method.