public class Info
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Info.Author
This class represents an author.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
appName
The application name and version
|
private java.lang.String |
appURL
The application URL
|
private java.lang.String |
appVersion
The application name and version
|
private java.util.ArrayList |
authors
The application authors
|
private java.lang.String |
installationSubPath
The installation subpath
|
private java.lang.String |
installerBase
The name of the installer file (name without jar suffix)
|
private java.lang.String |
javaVersion
The required Java version (min)
|
private java.lang.String |
packDecoderClassName
The full qualified name of the class which should be
used for decoding the packs.
|
(package private) static long |
serialVersionUID |
private java.lang.String |
summaryLogFilePath
The path of the summary log file
|
private java.lang.String |
uninstallerName
The uninstaller name
|
private java.lang.String |
webDirURL
The application Web Directory URL
|
Constructor and Description |
---|
Info()
The constructor, deliberatly void.
|
Modifier and Type | Method and Description |
---|---|
void |
addAuthor(Info.Author author)
Adds an author to the authors list.
|
java.lang.String |
getAppName()
Gets the application name.
|
java.lang.String |
getAppURL()
Gets the application URL.
|
java.lang.String |
getAppVersion()
Gets the version.
|
java.util.ArrayList |
getAuthors()
Gets the authors list.
|
java.lang.String |
getInstallationSubPath()
Gets the installation subpath.
|
java.lang.String |
getInstallerBase()
Gets the installer name.
|
java.lang.String |
getJavaVersion()
Gets the Java version required.
|
java.lang.String |
getPackDecoderClassName()
Returns the full qualified class name of the class which
should be used for decoding the packs.
|
java.lang.String |
getSummaryLogFilePath()
Returns the summary log file path.
|
java.lang.String |
getUninstallerName()
Returns the name of the uninstaller.
|
java.lang.String |
getWebDirURL()
Gets the webDir URL if it has been specified
|
void |
setAppName(java.lang.String appName)
Sets the application name.
|
void |
setAppURL(java.lang.String appURL)
Sets the application URL.
|
void |
setAppVersion(java.lang.String appVersion)
Sets the version.
|
void |
setInstallationSubPath(java.lang.String string)
Sets the installation subpath.
|
void |
setInstallerBase(java.lang.String installerBase)
Sets the installer name.
|
void |
setJavaVersion(java.lang.String javaVersion)
Sets the minimum Java version required.
|
void |
setPackDecoderClassName(java.lang.String packDecoderClassName)
Sets the full qualified class name of the class which
should be used for decoding the packs.
|
void |
setSummaryLogFilePath(java.lang.String summaryLogFilePath)
Sets the summary log file path.
|
void |
setUninstallerName(java.lang.String name)
Sets the name of the uninstaller.
|
void |
setWebDirURL(java.lang.String url)
Sets the webDir URL.
|
static final long serialVersionUID
private java.lang.String appName
private java.lang.String appVersion
private java.lang.String installationSubPath
private java.util.ArrayList authors
private java.lang.String appURL
private java.lang.String javaVersion
private java.lang.String installerBase
private java.lang.String webDirURL
private java.lang.String uninstallerName
private java.lang.String summaryLogFilePath
private java.lang.String packDecoderClassName
public void setAppName(java.lang.String appName)
appName
- The new application name.public java.lang.String getAppName()
public void setAppVersion(java.lang.String appVersion)
appVersion
- The application version.public java.lang.String getAppVersion()
public void addAuthor(Info.Author author)
author
- The author to add.public java.util.ArrayList getAuthors()
public void setAppURL(java.lang.String appURL)
appURL
- The application URL.public java.lang.String getAppURL()
public void setJavaVersion(java.lang.String javaVersion)
javaVersion
- The Java version.public java.lang.String getJavaVersion()
public void setInstallerBase(java.lang.String installerBase)
installerBase
- The new installer name.public java.lang.String getInstallerBase()
public void setWebDirURL(java.lang.String url)
url
- The application URL.public java.lang.String getWebDirURL()
public void setUninstallerName(java.lang.String name)
name
- the name of the uninstaller.public java.lang.String getUninstallerName()
public java.lang.String getInstallationSubPath()
public void setInstallationSubPath(java.lang.String string)
string
- subpath to be setpublic java.lang.String getSummaryLogFilePath()
public void setSummaryLogFilePath(java.lang.String summaryLogFilePath)
summaryLogFilePath
- the summary log file path to setpublic java.lang.String getPackDecoderClassName()
public void setPackDecoderClassName(java.lang.String packDecoderClassName)
packDecoderClassName
- The packDecoderClassName to set.