public class NewVersionInformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
latestVersionString
The latest version number
|
private java.util.List<java.lang.String> |
newFeatures
The new features in the latest version
|
private java.net.URL |
urlToDownloadPage
The URL to the download page
|
private java.net.URL |
urlToSourceCode
The URL to the source code
|
Constructor and Description |
---|
NewVersionInformation()
No operation
|
Modifier and Type | Method and Description |
---|---|
void |
addNewFeatureMessage(java.lang.String newFeatureMessage)
Add a new feature description
|
java.lang.String |
getDownloadInformation()
Get the instructions for obtaining the new version.
|
java.lang.String |
getLatestVersion()
Get the latest version number
|
java.lang.String |
getNewFeaturesDescription()
Get the description of new features
|
java.net.URL |
getUrlToDownloadPage()
Get the URL for the application's download page.
|
java.net.URL |
getUrlToSourceCode()
Get the URL for the application's source code repository location.
|
void |
setLatestVersion(java.lang.String pLatestVersionString)
Set the latest version number
|
void |
setUrlToDownloadPage(java.net.URL pUrlToDownloadPage)
Set the URL for the application's download web page.
|
void |
setUrlToSourceCode(java.net.URL pUrlToSourceCode)
Set the URL for the application's source code location
|
private java.lang.String latestVersionString
private java.util.List<java.lang.String> newFeatures
private java.net.URL urlToDownloadPage
private java.net.URL urlToSourceCode
public java.lang.String getDownloadInformation()
public java.lang.String getLatestVersion()
public void setLatestVersion(java.lang.String pLatestVersionString)
pLatestVersionString
- The version numberpublic java.lang.String getNewFeaturesDescription()
public void addNewFeatureMessage(java.lang.String newFeatureMessage)
newFeatureMessage
- New feature in the more recent versionpublic java.net.URL getUrlToDownloadPage()
public void setUrlToDownloadPage(java.net.URL pUrlToDownloadPage)
pUrlToDownloadPage
- The URL for the program's download pagepublic java.net.URL getUrlToSourceCode()
public void setUrlToSourceCode(java.net.URL pUrlToSourceCode)
pUrlToSourceCode
- The URL for the program's source code location