|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.managers.update.versions.VersionsFile
public final class VersionsFile
An online version's file.
Constructor Summary | |
---|---|
VersionsFile()
|
Method Summary | |
---|---|
InstallVersion |
getInstallVersion()
Return the install version of the file. |
OnlineVersion |
getMostRecentVersion()
Return the most recent version of the VersionsFile. |
java.util.List<OnlineVersion> |
getVersions()
Return all the versions contained in the file. |
void |
setInstallVersion(InstallVersion installVersion)
Set the install version. |
void |
setVersions(java.util.Collection<OnlineVersion> onlineVersions)
Set the versions of the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionsFile()
Method Detail |
---|
public java.util.List<OnlineVersion> getVersions()
public void setVersions(java.util.Collection<OnlineVersion> onlineVersions)
onlineVersions
- A list containing all the versions of the file.public InstallVersion getInstallVersion()
public void setInstallVersion(InstallVersion installVersion)
installVersion
- The install version.public OnlineVersion getMostRecentVersion()
java.util.NoSuchElementException
- If the version's file contains no version.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |