Package com.zerog.ia.auto.project
Class InstallFolder
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallFolder
-
- All Implemented Interfaces:
DestinationFolder,Referenceable
public final class InstallFolder extends ProjectObject implements DestinationFolder
InstallFolderdefines the main installation folder, where the application files are installed in the target machine. It can be customized to target different destination folders on each platform.
TheInstallFolderobject returned by thegetInstallFolder()method in theProjectclass can be used as magic folder in theOSHostDestinationFolderclass.- See Also:
Project.getInstallFolder()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()The ID of the magic folder theInstallFolderrepresents.DestinationFoldergetMacOSMagicFolder()The magic folder where theInstallFoldershould target on the Mac OS X platform.java.lang.StringgetMacOSSubFolder()The sub folder where theInstallFoldershould target on the Mac OS X platform.DestinationFoldergetUnixMagicFolder()The magic folder where theInstallFoldershould target on the Unix platform.java.lang.StringgetUnixSubFolder()The sub folder where theInstallFoldershould target on the Unix platform.DestinationFoldergetWindowsMagicFolder()The magic folder where theInstallFoldershould target on the Windows platform.java.lang.StringgetWindowsSubFolder()The sub folder where theInstallFoldershould target on the Windows platform.voidsetId(int Id)The ID of the magic folder theInstallFolderrepresents.voidsetMacOSMagicFolder(DestinationFolder magicFolder)The magic folder where theInstallFoldershould target on the Mac OS X platform.voidsetMacOSSubFolder(java.lang.String folderName)The sub folder where theInstallFoldershould target on the Mac OS X platform.voidsetUnixMagicFolder(DestinationFolder magicFolder)The magic folder where theInstallFoldershould target on the Unix platform.voidsetUnixSubFolder(java.lang.String folderName)The sub folder where theInstallFoldershould target on the Unix platform.voidsetWindowsMagicFolder(DestinationFolder magicFolder)The magic folder where theInstallFoldershould target on the Windows platform.voidsetWindowsSubFolder(java.lang.String folderName)The sub folder where theInstallFoldershould target on the Windows platform.-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
setUnixMagicFolder
public void setUnixMagicFolder(DestinationFolder magicFolder)
The magic folder where theInstallFoldershould target on the Unix platform. Default to PROGRAMS_FOLDER.- See Also:
MagicFolder
-
setMacOSMagicFolder
public void setMacOSMagicFolder(DestinationFolder magicFolder)
The magic folder where theInstallFoldershould target on the Mac OS X platform. Default to PROGRAMS_FOLDER.- See Also:
MagicFolder
-
setWindowsMagicFolder
public void setWindowsMagicFolder(DestinationFolder magicFolder)
The magic folder where theInstallFoldershould target on the Windows platform. Default to PROGRAMS_FOLDER.- See Also:
MagicFolder
-
setUnixSubFolder
public void setUnixSubFolder(java.lang.String folderName)
The sub folder where theInstallFoldershould target on the Unix platform. The sub folder is relative to theunixMagicFolder. Default to "$PRODUCT_NAME$".
-
setMacOSSubFolder
public void setMacOSSubFolder(java.lang.String folderName)
The sub folder where theInstallFoldershould target on the Mac OS X platform. The sub folder is relative to themacOSMagicFolder. Default to "$PRODUCT_NAME$".
-
setWindowsSubFolder
public void setWindowsSubFolder(java.lang.String folderName)
The sub folder where theInstallFoldershould target on the Windows platform. The sub folder is relative to thewindowsMagicFolder. Default to "$PRODUCT_NAME$".
-
getUnixMagicFolder
public DestinationFolder getUnixMagicFolder()
The magic folder where theInstallFoldershould target on the Unix platform. Default to PROGRAMS_FOLDER.- See Also:
MagicFolder
-
getMacOSMagicFolder
public DestinationFolder getMacOSMagicFolder()
The magic folder where theInstallFoldershould target on the Mac OS X platform. Default to PROGRAMS_FOLDER.- See Also:
MagicFolder
-
getWindowsMagicFolder
public DestinationFolder getWindowsMagicFolder()
The magic folder where theInstallFoldershould target on the Windows platform. Default to PROGRAMS_FOLDER.- See Also:
MagicFolder
-
getUnixSubFolder
public java.lang.String getUnixSubFolder()
The sub folder where theInstallFoldershould target on the Unix platform. The sub folder is relative to theunixMagicFolder. Default to "$PRODUCT_NAME$".
-
getMacOSSubFolder
public java.lang.String getMacOSSubFolder()
The sub folder where theInstallFoldershould target on the Mac OS X platform. The sub folder is relative to themacOSMagicFolder. Default to "$PRODUCT_NAME$".
-
getWindowsSubFolder
public java.lang.String getWindowsSubFolder()
The sub folder where theInstallFoldershould target on the Windows platform. The sub folder is relative to thewindowsMagicFolder. Default to "$PRODUCT_NAME$".
-
getId
public int getId()
The ID of the magic folder theInstallFolderrepresents.- Specified by:
getIdin interfaceDestinationFolder
-
setId
public void setId(int Id)
The ID of the magic folder theInstallFolderrepresents.
-
-