public class Info extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Info.Author
This class represents an author.
|
static class |
Info.TempDir
Represents a temporary directory with a randomly generated file name starting with
the specified prefix and ending with the specified suffix.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPIRE_DATE_FORMAT
The format of the expiration date
|
static int |
REBOOT_ACTION_ALWAYS
Force rebooting regardless whether there are pending operations
|
static int |
REBOOT_ACTION_ASK
Ask before reboot automatically,
on pending file operations only
|
static int |
REBOOT_ACTION_IGNORE
Force ignoring pending file operations
|
static int |
REBOOT_ACTION_NOTICE
Notice the user interactively but don't actually reboot,
on pending file operations only
|
| Constructor and Description |
|---|
Info()
The constructor, deliberately void.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthor(Info.Author author)
Adds an author to the authors list.
|
void |
addTempDir(Info.TempDir tempDir) |
String |
getAppName()
Gets the application name.
|
String |
getAppURL()
Gets the application URL.
|
String |
getAppVersion()
Gets the version.
|
ArrayList<Info.Author> |
getAuthors()
Gets the authors list.
|
PackCompression |
getCompressionFormat() |
Date |
getExpiresDate() |
boolean |
getHideForceOption() |
String |
getInstallationSubPath()
Gets the installation subpath.
|
String |
getInstallerBase()
Gets the installer name.
|
String |
getJavaVersion()
Gets the Java version required.
|
boolean |
getJavaVersionStrict()
Gets the Java version strict parameter.
|
String |
getPrivilegedExecutionConditionID() |
int |
getRebootAction() |
String |
getRebootActionConditionID() |
String |
getSummaryLogFilePath()
Returns the summary log file path.
|
Set<Info.TempDir> |
getTempDirs() |
String |
getUninstallerCondition() |
String |
getUninstallerName()
Returns the name of the uninstaller.
|
String |
getUninstallerPath()
Returns the path to the uninstaller
|
String |
getUnpackerClassName() |
String |
getWebDirURL()
Gets the webDir URL if it has been specified
|
boolean |
isJdkRequired() |
boolean |
isPrivilegedExecutionRequired() |
boolean |
isPrivilegedExecutionRequiredUninstaller() |
boolean |
isReadInstallationInformation() |
boolean |
isSingleInstance() |
boolean |
isWriteInstallationInformation() |
void |
setAppName(String appName)
Sets the application name.
|
void |
setAppURL(String appURL)
Sets the application URL.
|
void |
setAppVersion(String appVersion)
Sets the version.
|
void |
setCompressionFormat(PackCompression compression) |
void |
setExpiresDate(Date value) |
void |
setExpiresDate(String value) |
void |
setHideForceOption(boolean hideForceOption) |
void |
setInstallationSubPath(String installationSubPath)
Sets the installation subpath.
|
void |
setInstallerBase(String installerBase)
Sets the installer name.
|
void |
setJavaVersion(String javaVersion)
Sets the minimum Java version required.
|
void |
setJavaVersionStrict(boolean javaVersionStrict)
Sets the minimum Java version strict parameter.
|
void |
setJdkRequired(boolean jdkRequired) |
void |
setPrivilegedExecutionConditionID(String privilegedExecutionConditionID) |
void |
setReadInstallationInformation(boolean readInstallationInformation) |
void |
setRebootAction(int rebootAction) |
void |
setRebootActionConditionID(String rebootActionConditionID) |
void |
setRequirePrivilegedExecution(boolean requirePrivilegedExecution) |
void |
setRequirePrivilegedExecutionUninstaller(boolean required) |
void |
setSingleInstance(boolean flag) |
void |
setSummaryLogFilePath(String summaryLogFilePath)
Sets the summary log file path.
|
void |
setUninstallerCondition(String uninstallerCondition) |
void |
setUninstallerName(String name)
Sets the name of the uninstaller.
|
void |
setUninstallerPath(String path)
Sets the path to the uninstaller
|
void |
setUnpackerClassName(String unpackerClassName) |
void |
setWebDirURL(String url)
Sets the webDir URL.
|
void |
setWriteInstallationInformation(boolean writeInstallationInformation) |
public static final int REBOOT_ACTION_IGNORE
public static final int REBOOT_ACTION_NOTICE
public static final int REBOOT_ACTION_ASK
public static final int REBOOT_ACTION_ALWAYS
public static final String EXPIRE_DATE_FORMAT
public boolean isPrivilegedExecutionRequired()
public void setRequirePrivilegedExecution(boolean requirePrivilegedExecution)
public boolean isPrivilegedExecutionRequiredUninstaller()
public void setRequirePrivilegedExecutionUninstaller(boolean required)
public String getPrivilegedExecutionConditionID()
public void setPrivilegedExecutionConditionID(String privilegedExecutionConditionID)
public int getRebootAction()
public void setRebootAction(int rebootAction)
public String getRebootActionConditionID()
public void setRebootActionConditionID(String rebootActionConditionID)
public void setAppName(String appName)
appName - The new application name.public String getAppName()
public void setAppVersion(String appVersion)
appVersion - The application version.public String getAppVersion()
public void addAuthor(Info.Author author)
author - The author to add.public ArrayList<Info.Author> getAuthors()
public void setAppURL(String appURL)
appURL - The application URL.public String getAppURL()
public void setJavaVersion(String javaVersion)
javaVersion - The Java version.public String getJavaVersion()
public void setJavaVersionStrict(boolean javaVersionStrict)
javaVersionStrict - The Java version strict parameter.public boolean getJavaVersionStrict()
public void setInstallerBase(String installerBase)
installerBase - The new installer name.public String getInstallerBase()
public void setWebDirURL(String url)
url - The application URL.public String getWebDirURL()
public void setUninstallerName(String name)
name - the name of the uninstaller.public String getUninstallerName()
public void setUninstallerPath(String path)
path - the path to the uninstallerpublic String getUninstallerPath()
public boolean isJdkRequired()
public void setJdkRequired(boolean jdkRequired)
public PackCompression getCompressionFormat()
public void setCompressionFormat(PackCompression compression)
public String getInstallationSubPath()
public void setInstallationSubPath(String installationSubPath)
installationSubPath - subpath to be setpublic String getSummaryLogFilePath()
public void setSummaryLogFilePath(String summaryLogFilePath)
summaryLogFilePath - the summary log file path to setpublic String getUnpackerClassName()
public void setUnpackerClassName(String unpackerClassName)
public boolean isWriteInstallationInformation()
public void setWriteInstallationInformation(boolean writeInstallationInformation)
public boolean isReadInstallationInformation()
public void setReadInstallationInformation(boolean readInstallationInformation)
public boolean isSingleInstance()
public void setSingleInstance(boolean flag)
public boolean getHideForceOption()
public void setHideForceOption(boolean hideForceOption)
public String getUninstallerCondition()
public void setUninstallerCondition(String uninstallerCondition)
public void addTempDir(Info.TempDir tempDir)
public Set<Info.TempDir> getTempDirs()
public Date getExpiresDate()
public void setExpiresDate(Date value)
public void setExpiresDate(String value) throws ParseException
ParseExceptionCopyright © 2001–2025. All rights reserved.