Package org.eclipse.jgit.transport
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 Summary
Constructors Constructor Description ConnectivityCheckInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReceiveCommand>
getCommands()
PackParser
getParser()
Repository
getRepository()
RevWalk
getWalk()
boolean
isCheckObjects()
void
setCheckObjects(boolean checkObjects)
void
setCommands(List<ReceiveCommand> commands)
void
setParser(PackParser parser)
void
setRepository(Repository repository)
void
setWalk(RevWalk walk)
-
-
-
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
-
-