section of the XML files.
- Author:
- Julien Ponge
- See Also:
- Serialized Form
Nested Class Summary |
static class |
Info.Author
This class represents an author. |
Constructor Summary |
Info()
The constructor, deliberatly void. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
appName
private java.lang.String appName
- The application name and version
appVersion
private java.lang.String appVersion
installationSubPath
private java.lang.String installationSubPath
- The installation subpath
authors
private java.util.ArrayList<Info.Author> authors
- The application authors
appURL
private java.lang.String appURL
- The application URL
javaVersion
private java.lang.String javaVersion
- The required Java version (min)
jdkRequired
private boolean jdkRequired
- Is a JDK required?
installerBase
private java.lang.String installerBase
- The name of the installer file (name without jar suffix)
webDirURL
private java.lang.String webDirURL
- The application Web Directory URL
uninstallerName
private java.lang.String uninstallerName
- The uninstaller name
uninstallerCondition
private java.lang.String uninstallerCondition
- condition for writing the uninstaller
summaryLogFilePath
private java.lang.String summaryLogFilePath
- The path of the summary log file
packDecoderClassName
private java.lang.String packDecoderClassName
- The full qualified name of the class which should be
used for decoding the packs.
unpackerClassName
private java.lang.String unpackerClassName
writeInstallationInformation
private boolean writeInstallationInformation
pack200Compression
private boolean pack200Compression
Info
public Info()
- The constructor, deliberatly void.
setAppName
public void setAppName(java.lang.String appName)
- Sets the application name.
- Parameters:
appName
- The new application name.
getAppName
public java.lang.String getAppName()
- Gets the application name.
- Returns:
- The application name.
setAppVersion
public void setAppVersion(java.lang.String appVersion)
- Sets the version.
- Parameters:
appVersion
- The application version.
getAppVersion
public java.lang.String getAppVersion()
- Gets the version.
- Returns:
- The application version.
addAuthor
public void addAuthor(Info.Author author)
- Adds an author to the authors list.
- Parameters:
author
- The author to add.
getAuthors
public java.util.ArrayList<Info.Author> getAuthors()
- Gets the authors list.
- Returns:
- The authors list.
setAppURL
public void setAppURL(java.lang.String appURL)
- Sets the application URL.
- Parameters:
appURL
- The application URL.
getAppURL
public java.lang.String getAppURL()
- Gets the application URL.
- Returns:
- The application URL.
setJavaVersion
public void setJavaVersion(java.lang.String javaVersion)
- Sets the minimum Java version required.
- Parameters:
javaVersion
- The Java version.
getJavaVersion
public java.lang.String getJavaVersion()
- Gets the Java version required.
- Returns:
- The Java version.
setInstallerBase
public void setInstallerBase(java.lang.String installerBase)
- Sets the installer name.
- Parameters:
installerBase
- The new installer name.
getInstallerBase
public java.lang.String getInstallerBase()
- Gets the installer name.
- Returns:
- The name of the installer file, without the jar suffix.
setWebDirURL
public void setWebDirURL(java.lang.String url)
- Sets the webDir URL.
- Parameters:
url
- The application URL.
getWebDirURL
public java.lang.String getWebDirURL()
- Gets the webDir URL if it has been specified
- Returns:
- The webDir URL from which the installer is retrieved, or null if non has
been set.
setUninstallerName
public void setUninstallerName(java.lang.String name)
- Sets the name of the uninstaller.
- Parameters:
name
- the name of the uninstaller.
getUninstallerName
public java.lang.String getUninstallerName()
- Returns the name of the uninstaller.
- Returns:
- the name of the uninstaller.
isJdkRequired
public boolean isJdkRequired()
setJdkRequired
public void setJdkRequired(boolean jdkRequired)
setPack200Compression
public void setPack200Compression(boolean pack200Support)
isPack200Compression
public boolean isPack200Compression()
getInstallationSubPath
public java.lang.String getInstallationSubPath()
- Gets the installation subpath.
- Returns:
- the installation subpath
setInstallationSubPath
public void setInstallationSubPath(java.lang.String string)
- Sets the installation subpath.
- Parameters:
string
- subpath to be set
getSummaryLogFilePath
public java.lang.String getSummaryLogFilePath()
- Returns the summary log file path.
- Returns:
- the summary log file path
setSummaryLogFilePath
public void setSummaryLogFilePath(java.lang.String summaryLogFilePath)
- Sets the summary log file path.
- Parameters:
summaryLogFilePath
- the summary log file path to set
getPackDecoderClassName
public java.lang.String getPackDecoderClassName()
- Returns the full qualified class name of the class which
should be used for decoding the packs.
- Returns:
- Returns the packDecoderClassName.
setPackDecoderClassName
public void setPackDecoderClassName(java.lang.String packDecoderClassName)
- Sets the full qualified class name of the class which
should be used for decoding the packs.
- Parameters:
packDecoderClassName
- The packDecoderClassName to set.
getUnpackerClassName
public java.lang.String getUnpackerClassName()
setUnpackerClassName
public void setUnpackerClassName(java.lang.String unpackerClassName)
isWriteInstallationInformation
public boolean isWriteInstallationInformation()
setWriteInstallationInformation
public void setWriteInstallationInformation(boolean writeInstallationInformation)
getUninstallerCondition
public java.lang.String getUninstallerCondition()
setUninstallerCondition
public void setUninstallerCondition(java.lang.String uninstallerCondition)