Class LogSettings
- java.lang.Object
-
- com.zerog.ia.auto.project.LogSettings
-
public final class LogSettings extends java.lang.ObjectThe log settings, like whether or not to generate it and the file format.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAddLogEnabled()Whether or not to activate the creation of add logs.java.lang.StringgetAddLogPath()booleangetInstallLogEnabled()Whether or not to activate the creation of install logs.InstallLogFormatgetInstallLogFormat()The format of the install log file.java.lang.StringgetInstallLogPath()booleangetInstallLogUninstall()booleangetLogEnabled()booleangetRemoveLogEnabled()java.lang.StringgetRemoveLogPath()booleangetRepairLogEnabled()java.lang.StringgetRepairLogPath()booleangetStdErrEnabled()booleangetUninstallAllLogsEnabled()booleangetUninstallLogEnabled()java.lang.StringgetUninstallLogPath()booleanisIncludeTimestamp()voidsetAddLogEnabled(boolean addLogEnabled)voidsetAddLogPath(java.lang.String addLogPath)voidsetIncludeTimestamp(boolean includeTimestamp)voidsetInstallLogEnabled(boolean enabled)Whether or not to activate the creation of install logs.voidsetInstallLogFormat(InstallLogFormat format)The format of the install log file.voidsetInstallLogPath(java.lang.String installLogPath)voidsetInstallLogUninstall(boolean installLogUninstall)voidsetLogEnabled(boolean logEnabled)voidsetRemoveLogEnabled(boolean removeLogEnabled)voidsetRemoveLogPath(java.lang.String removeLogPath)voidsetRepairLogEnabled(boolean repairLogEnabled)voidsetRepairLogPath(java.lang.String repairLogPath)voidsetStdErrEnabled(boolean stdErrEnabled)voidsetUninstallAllLogsEnabled(boolean uninstallAllLogsEnabled)voidsetUninstallLogEnabled(boolean uninstallLogEnabled)voidsetUninstallLogPath(java.lang.String uninstallLogPath)
-
-
-
Method Detail
-
setInstallLogUninstall
public void setInstallLogUninstall(boolean installLogUninstall)
-
getInstallLogUninstall
public boolean getInstallLogUninstall()
-
setInstallLogEnabled
public void setInstallLogEnabled(boolean enabled)
Whether or not to activate the creation of install logs. Install logs record the actions that the installer executes.The default file name for the install log is $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.log (txt) or $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.xml (xml). The installer stores the install log in the location specified by the $INSTALL_LOG_DESTINATION$ variable. By default, this variable points to the install directory (UNINSTALLER_DIR\Logs).
- See Also:
#setInstallLogFormat(),#setUninstallInstallLog(boolean)
-
getInstallLogEnabled
public boolean getInstallLogEnabled()
Whether or not to activate the creation of install logs. Install logs record the actions that the installer executes.The default file name for the install log is $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.log (txt) or $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.xml (xml). The installer stores the install log in the location specified by the $INSTALL_LOG_DESTINATION$ variable. By default, this variable points to the install directory (UNINSTALLER_DIR\Logs).
- See Also:
getInstallLogFormat()
-
setInstallLogFormat
public void setInstallLogFormat(InstallLogFormat format)
The format of the install log file. It can beInstallLogFormat.TEXT_FORMAT(default) orInstallLogFormat.XML_FORMAT- See Also:
setInstallLogEnabled(boolean)
-
getInstallLogFormat
public InstallLogFormat getInstallLogFormat()
The format of the install log file. It can beInstallLogFormat.TEXT_FORMAT(default) orInstallLogFormat.XML_FORMAT- See Also:
getInstallLogEnabled()
-
getLogEnabled
public boolean getLogEnabled()
-
setLogEnabled
public void setLogEnabled(boolean logEnabled)
-
getAddLogEnabled
public boolean getAddLogEnabled()
Whether or not to activate the creation of add logs. Add logs record the actions that the installer executes Add phase of MaintenanceMode.The default file name for the add log is $PRODUCT_NAME$_Add_MM_DD_YYYY_HH_MM_SS.log (txt) or $PRODUCT_NAME$_Add_MM_DD_YYYY_HH_MM_SS.xml (xml).
- See Also:
getInstallLogFormat()
-
setAddLogEnabled
public void setAddLogEnabled(boolean addLogEnabled)
-
getRepairLogEnabled
public boolean getRepairLogEnabled()
-
setRepairLogEnabled
public void setRepairLogEnabled(boolean repairLogEnabled)
-
getRemoveLogEnabled
public boolean getRemoveLogEnabled()
-
setRemoveLogEnabled
public void setRemoveLogEnabled(boolean removeLogEnabled)
-
getUninstallLogEnabled
public boolean getUninstallLogEnabled()
-
setUninstallLogEnabled
public void setUninstallLogEnabled(boolean uninstallLogEnabled)
-
getUninstallAllLogsEnabled
public boolean getUninstallAllLogsEnabled()
-
setUninstallAllLogsEnabled
public void setUninstallAllLogsEnabled(boolean uninstallAllLogsEnabled)
-
getStdErrEnabled
public boolean getStdErrEnabled()
-
setStdErrEnabled
public void setStdErrEnabled(boolean stdErrEnabled)
-
getInstallLogPath
public java.lang.String getInstallLogPath()
-
setInstallLogPath
public void setInstallLogPath(java.lang.String installLogPath)
-
getAddLogPath
public java.lang.String getAddLogPath()
-
setAddLogPath
public void setAddLogPath(java.lang.String addLogPath)
-
getRepairLogPath
public java.lang.String getRepairLogPath()
-
setRepairLogPath
public void setRepairLogPath(java.lang.String repairLogPath)
-
getRemoveLogPath
public java.lang.String getRemoveLogPath()
-
setRemoveLogPath
public void setRemoveLogPath(java.lang.String removeLogPath)
-
getUninstallLogPath
public java.lang.String getUninstallLogPath()
-
setUninstallLogPath
public void setUninstallLogPath(java.lang.String uninstallLogPath)
-
isIncludeTimestamp
public boolean isIncludeTimestamp()
-
setIncludeTimestamp
public void setIncludeTimestamp(boolean includeTimestamp)
-
-