public class ESHistoryInfoImpl extends AbstractAPIImpl<ESHistoryInfo,HistoryInfo> implements ESHistoryInfo
ESHistoryInfo and HistoryInfo.| Constructor and Description |
|---|
ESHistoryInfoImpl(HistoryInfo historyInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ESChangePackage |
getChangePackage()
Returns the
ESChangePackage containing the changes associated
with this history. |
ESLogMessage |
getLogMessage()
Returns the
ESLogMessage that was specified when a commit succeeded. |
List<ESPrimaryVersionSpec> |
getMergedFromSpecs()
Returns an optional list of
ESPrimaryVersionSpecs that identifies the versions
this version was merged from. |
List<ESPrimaryVersionSpec> |
getMergedToSpecs()
Returns an optional list of
ESPrimaryVersionSpecs that identifies the versions
this version was merged from. |
List<ESPrimaryVersionSpec> |
getNextSpecs()
Returns a list of the
ESPrimaryVersionSpecs that followed this version. |
ESPrimaryVersionSpec |
getPreviousSpec()
Returns the
ESPrimaryVersionSpec of the previous version. |
ESPrimaryVersionSpec |
getPrimarySpec()
Returns the version the history information is associated with.
|
List<ESTagVersionSpec> |
getTagSpecs()
Returns the tag specifiers associated with this history.
|
equals, hashCode, toInternalAPIpublic ESHistoryInfoImpl(HistoryInfo historyInfo)
historyInfo - the delegatepublic ESPrimaryVersionSpec getPrimarySpec()
getPrimarySpec in interface ESHistoryInfoESPrimaryVersionSpec of the history informationESHistoryInfo.getPrimarySpec()public List<ESPrimaryVersionSpec> getNextSpecs()
ESPrimaryVersionSpecs that followed this version.getNextSpecs in interface ESHistoryInfoESPrimaryVersionSpecsESHistoryInfo.getNextSpecs()public ESPrimaryVersionSpec getPreviousSpec()
ESPrimaryVersionSpec of the previous version.getPreviousSpec in interface ESHistoryInfoESHistoryInfo.getPreviousSpec()public List<ESPrimaryVersionSpec> getMergedFromSpecs()
ESPrimaryVersionSpecs that identifies the versions
this version was merged from.getMergedFromSpecs in interface ESHistoryInfoESHistoryInfo.getMergedFromSpecs()public List<ESPrimaryVersionSpec> getMergedToSpecs()
ESPrimaryVersionSpecs that identifies the versions
this version was merged from.getMergedToSpecs in interface ESHistoryInfoESHistoryInfo.getMergedToSpecs()public ESLogMessage getLogMessage()
ESLogMessage that was specified when a commit succeeded.getLogMessage in interface ESHistoryInfoESHistoryInfo.getLogMessage()public List<ESTagVersionSpec> getTagSpecs()
getTagSpecs in interface ESHistoryInfoESHistoryInfo.getTagSpecs()public ESChangePackage getChangePackage()
ESChangePackage containing the changes associated
with this history.getChangePackage in interface ESHistoryInfoESHistoryInfo.getChangePackage()Copyright © 2017. All rights reserved.