Package com.install4j.api
Interface ApplicationRegistry.ApplicationInfo
-
- Enclosing class:
- ApplicationRegistry
public static interface ApplicationRegistry.ApplicationInfoProvides information about an application installed by install4j.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCompilerVariable(java.lang.String variableName)Get the value of a compiler variable of the application.java.lang.StringgetId()Returns the application ID.java.io.FilegetInstallationDirectory()Returns the directory the application was installed in the last time the installer run.java.lang.ObjectgetInstallerVariable(java.lang.String variableName)Get the value of an installer variable that was saved to the automatically created response fileresponse.varfile.java.lang.StringgetMediaSetId()Returns the ID of the media file that was used to install this application.java.lang.StringgetName()Returns the name of the application.java.lang.StringgetVersion()Returns the version of the application.
-
-
-
Method Detail
-
getInstallationDirectory
java.io.File getInstallationDirectory()
Returns the directory the application was installed in the last time the installer run.- Returns:
- the installation directory
-
getId
java.lang.String getId()
Returns the application ID.- Returns:
- the application id,
nullif the application was installed with install4j < 3.0
-
getName
java.lang.String getName()
Returns the name of the application.- Returns:
- the full name of the application
-
getVersion
java.lang.String getVersion()
Returns the version of the application.- Returns:
- the version
-
getMediaSetId
java.lang.String getMediaSetId()
Returns the ID of the media file that was used to install this application.- Returns:
- the media file ID or an empty string if the application was installed with install4j < 4.1
-
getCompilerVariable
java.lang.String getCompilerVariable(java.lang.String variableName)
Get the value of a compiler variable of the application.- Parameters:
variableName- the name of the compiler variable- Returns:
- the value of the compiler variable or
nullif the variable is undefined
-
getInstallerVariable
java.lang.Object getInstallerVariable(java.lang.String variableName)
Get the value of an installer variable that was saved to the automatically created response fileresponse.varfile.- Parameters:
variableName- the name of the compiler variable- Returns:
- the value of the compiler variable or
nullif the variable is undefined
-
-