public class Entry extends Object implements Iterable<Version>
Modifier and Type | Method and Description |
---|---|
Version |
addVersion(Version version) |
Version |
getBaseVersion() |
Version |
getFirstVersion() |
Version |
getGreatestVersion() |
String |
getKey() |
Version |
getLastVersion() |
Version |
getLastVersion(boolean includeUpgradeOnly) |
Version |
getOrCreateVersion(String version) |
Version |
getVersion(String version) |
List<Version> |
getVersions() |
boolean |
hasBaseVersion() |
boolean |
isEmpty() |
boolean |
isLastVersion(Version v) |
Iterator<Version> |
iterator() |
boolean |
removeVersion(Version version) |
void |
setBaseVersion(Version baseVersion) |
String |
toString() |
public Entry(String key)
public final boolean isEmpty()
public final Version getFirstVersion()
public final Version getLastVersion()
public Version getLastVersion(boolean includeUpgradeOnly)
includeUpgradeOnly
- public final String getKey()
public final void setBaseVersion(Version baseVersion)
public final boolean hasBaseVersion()
public final Version getBaseVersion()
public final boolean isLastVersion(Version v)
public boolean removeVersion(Version version)
public Version getGreatestVersion()
Copyright © 2015 Nuxeo SA. All rights reserved.