Class 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 Detail

      • ConnectivityCheckInfo

        public ConnectivityCheckInfo()
    • Method Detail

      • 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