Interface IFixesDelegator

All Known Subinterfaces:
IOptionsServer, IServer, IStreamingServer
All Known Implementing Classes:
FixesDelegator, NtsServerImpl, OneShotServerImpl, RpcServer, Server

public interface IFixesDelegator
Interface for the 'p4 fixes' command.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a list of all Perforce jobs with fix records associated with them, along with the changelist number of the fix.
    getFixList(List<IFileSpec> fileSpecs, int changeListId, 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.
  • Method Details

    • getFixList

      List<IFix> getFixList(List<IFileSpec> fileSpecs, int changeListId, String jobId, boolean includeIntegrations, int maxFixes) throws ConnectionException, RequestException, AccessException
      Return a list of all Perforce jobs with fix records associated with them, along with the changelist number of the fix. Detailed semantics for this method are given in the main Perforce documentation for the p4 command "fixes".

      Note that this method (unlike the main file list methods) throws an exception and stops at the first encountered error.

      Parameters:
      fileSpecs - if given, restrict output to fixes associated with these files
      changeListId - if positive, only fixes from the numbered changelist are listed.
      jobId - if non-null, only fixes for the named job are listed
      includeIntegrations - if true, include any fixes made by changelists integrated into the specified files
      maxFixes - if positive, restrict the list to the first maxFixes fixes
      Returns:
      non-null but possibly empty list of qualifying IFix fixes.
      Throws:
      ConnectionException - if the Perforce server is unreachable or is not connected.
      RequestException - if the Perforce server encounters an error during its processing of the request
      AccessException - if the Perforce server denies access to the caller
    • getFixes

      List<IFix> getFixes(List<IFileSpec> fileSpecs, GetFixesOptions opts) throws P4JavaException
      Return a list of all Perforce jobs with fix records associated with them, along with the changelist number of the fix. Detailed semantics for this method are given in the main Perforce documentation for the p4 command "fixes".

      Note that this method (unlike the main file list methods) throws an exception and stops at the first encountered error.

      Parameters:
      fileSpecs - if given, restrict output to fixes associated with these files
      opts - FixListOptions object describing optional parameters; if null, no options are set
      Returns:
      non-null but possibly empty list of qualifying IFix fixes.
      Throws:
      P4JavaException - if any error occurs in the processing of this method.