Module org.eclipse.jgit
Package org.eclipse.jgit.transport
Class ConnectivityChecker.ConnectivityCheckInfo
java.lang.Object
org.eclipse.jgit.transport.ConnectivityChecker.ConnectivityCheckInfo
- Enclosing interface:
- ConnectivityChecker
POJO which is used to pass all information which is needed to perform
connectivity check.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet commands received by the current requestGet the parser used to parse packGet database we write the stored objects intogetWalk()
Get the walk to parse commitsboolean
Whether checker should check objectsvoid
setCheckObjects
(boolean checkObjects) Set whether objects should be checkedvoid
setCommands
(List<ReceiveCommand> commands) Set commands received by the current requestvoid
setParser
(PackParser parser) Set the parservoid
setRepository
(Repository repository) Set database we write the stored objects intovoid
Set the walk to parse commits
-
Constructor Details
-
ConnectivityCheckInfo
public ConnectivityCheckInfo()
-
-
Method Details
-
getRepository
Get database we write the stored objects into- Returns:
- database we write the stored objects into.
-
setRepository
Set database we write the stored objects into- Parameters:
repository
- set database we write the stored objects into.
-
getParser
Get the parser used to parse pack- Returns:
- the parser used to parse pack.
-
setParser
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
Get commands received by the current request- Returns:
- commands received by the current request.
-
setCommands
Set commands received by the current request- Parameters:
commands
- commands received by the current request.
-
setWalk
Set the walk to parse commits- Parameters:
walk
- the walk to parse commits
-
getWalk
Get the walk to parse commits- Returns:
- the walk to parse commits
-