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.
  • Constructor Details

    • ConnectivityCheckInfo

      public ConnectivityCheckInfo()
  • Method Details

    • getRepository

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

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

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

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

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

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

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

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

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

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