| com.tc.installer.util.DateStamp
DateStamp | public class DateStamp extends CustomCodeAction (Code) | | This class creates a time stamp with the current time and date. It is created to be used as part of the upgrade
process. The upgrade process renames the parent folder of an existing Terracotta installation with the original name
and a date time stamp appended to the original name.
Format of renamed folder: "{OLD_NAME}_M-D-YYYY_HH:MM"
e.g.
C:\Program Files\Terracotta
becomes
C:\Program Files\Terracotta_06-23-2006_14:57
Please take a look at:
SimpleDateFormat.java to get the possible Date Format structure.
|
Method Summary | |
public String | getInstallStatusMessage() This method will be called to display a status message during the installation. | public String | getUninstallStatusMessage() This method will be called to display a status message during the uninstall. | public void | install(InstallerProxy ip) This is the method that is called at install-time. | public void | uninstall(UninstallerProxy up) This is the method that is called at uninstall-time. |
getInstallStatusMessage | public String getInstallStatusMessage()(Code) | | This method will be called to display a status message during the installation.
See Also: com.zerog.ia.api.pub.CustomCodeAction.getInstallStatusMessage |
getUninstallStatusMessage | public String getUninstallStatusMessage()(Code) | | This method will be called to display a status message during the uninstall.
See Also: com.zerog.ia.api.pub.CustomCodeAction.getUninstallStatusMessage |
install | public void install(InstallerProxy ip) throws InstallException(Code) | | This is the method that is called at install-time. The InstallerProxy instance provides methods to access
information in the installer, set status, and control flow.
For the purposes of the this action (DateStamp), this method
- gets its parameters from the InstallAnywhere Variables $DATE_FORMAT$
- sets the InstallAnywhere variable $FORAMATTED_DATE$ with the current date whose
date format is specified by $DATE_FORMAT$
See Also: com.zerog.ia.api.pub.CustomCodeAction.install |
uninstall | public void uninstall(UninstallerProxy up) throws InstallException(Code) | | This is the method that is called at uninstall-time. The UninstallerProxy instance provides methods to access
information in the installer, set status, and control flow.
For the purposes of the this action (DateStamp), this method is not used.
|
|
|