Class ConnectivityChecker.ConnectivityCheckInfo

java.lang.Object
org.eclipse.jgit.transport.ConnectivityChecker.ConnectivityCheckInfo
Enclosing interface:
ConnectivityChecker

public static class ConnectivityChecker.ConnectivityCheckInfo extends Object
POJO which is used to pass all information which is needed to perform connectivity check.
  • Field Details

  • Constructor Details

    • ConnectivityCheckInfo

      public ConnectivityCheckInfo()
  • Method Details

    • getRepository

      public Repository getRepository()
      Returns:
      database we write the stored objects into.
    • setRepository

      public void setRepository(Repository repository)
      Parameters:
      repository - set database we write the stored objects into.
    • getParser

      public PackParser getParser()
      Returns:
      the parser used to parse pack.
    • setParser

      public void setParser(PackParser parser)
      Parameters:
      parser - the parser to set
    • isCheckObjects

      public boolean isCheckObjects()
      Returns:
      if checker should check objects.
    • setCheckObjects

      public void setCheckObjects(boolean checkObjects)
      Parameters:
      checkObjects - set if checker should check referenced objects outside of the received pack are reachable.
    • getCommands

      public List<ReceiveCommand> getCommands()
      Returns:
      command received by the current request.
    • setCommands

      public void setCommands(List<ReceiveCommand> commands)
      Parameters:
      commands - set command received by the current request.
    • setWalk

      public void setWalk(RevWalk walk)
      Parameters:
      walk - the walk to parse commits
    • getWalk

      public RevWalk getWalk()
      Returns:
      the walk to parse commits