public class ESBranchInfoImpl extends AbstractAPIImpl<ESBranchInfo,BranchInfo> implements ESBranchInfo
ESBranchInfo and BranchInfo.| Constructor and Description |
|---|
ESBranchInfoImpl(BranchInfo branchInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ESPrimaryVersionSpec |
getHead()
Returns the HEAD version of this branch.
|
String |
getName()
Returns the name of the branch.
|
ESPrimaryVersionSpec |
getSource()
Returns the source version of this branch.
|
equals, hashCode, toInternalAPIpublic ESBranchInfoImpl(BranchInfo branchInfo)
branchInfo - the delegatepublic String getName()
getName in interface ESBranchInfoESBranchInfo.getName()public ESPrimaryVersionSpec getHead()
getHead in interface ESBranchInfoESPrimaryVersionSpec of the HEAD version of this branchESBranchInfo.getHead()public ESPrimaryVersionSpec getSource()
Returns the source version of this branch.
The source version of a branch is the version this branch was created from.
getSource in interface ESBranchInfoESPrimaryVersionSpec of the source version of this branchESBranchInfo.getSource()Copyright © 2017. All rights reserved.