Package sonia.scm.repository
Class BranchDetails
java.lang.Object
sonia.scm.repository.BranchDetails
Represents details of a branch that are not computed by default for a
Branch
.- Since:
- 2.28.0
-
Constructor Summary
ConstructorsConstructorDescriptionBranchDetails
(String branchName) Create the details object without further details.BranchDetails
(String branchName, Integer changesetsAhead, Integer changesetsBehind) Creates the details object with ahead/behind counts. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the branch these details are for.The number of changesets this branch is ahead of the default branch (that is the number of changesets on this branch that are not reachable from the default branch).The number of changesets the default branch is ahead of this branch (that is the number of changesets on the default branch that are not reachable from this branch).
-
Constructor Details
-
BranchDetails
Create the details object without further details.- Parameters:
branchName
- The name of the branch these details are for.
-
BranchDetails
Creates the details object with ahead/behind counts.- Parameters:
branchName
- The name of the branch these details are for.changesetsAhead
- The number of changesets this branch is ahead of the default branch (that is the number of changesets on this branch that are not reachable from the default branch).changesetsBehind
- The number of changesets the default branch is ahead of this branch (that is
-
-
Method Details
-
getBranchName
The name of the branch these details are for. -
getChangesetsAhead
The number of changesets this branch is ahead of the default branch (that is the number of changesets on this branch that are not reachable from the default branch). -
getChangesetsBehind
The number of changesets the default branch is ahead of this branch (that is the number of changesets on the default branch that are not reachable from this branch).
-