Package com.zerog.ia.auto.project
Class BuildTarget
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.BuildTarget
-
- All Implemented Interfaces:
Referenceable
public final class BuildTarget extends ProjectObject
Defines a target platform which the installer should be built to. ABuildTargetdefines the platform type, the output location and the Java VM to bundle into the installer.- See Also:
BuildConfiguration
-
-
Constructor Summary
Constructors Constructor Description BuildTarget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBuildNoVM()Whether or not to build the installer with no bundled Java VM.booleangetBuildWithVM()Whether or not to build the installer with a bundled Java VM.java.lang.StringgetBundledVM()The Java VM that should be bundled into the installer.booleangetMd5CheckApplicable_dontSearch_download()Whether or not to perform MD5 check on downloaded JVM.booleangetMd5CheckApplicable_search_notFound_download()Whether or not to perform MD5 check on downloaded JVM.java.lang.StringgetMd5CheckHash_dontSearch_download()MD5 checksum for the downloaded JVM.java.lang.StringgetMd5CheckHash_search_notFound_download()MD5 checksum for the downloaded JVM.java.lang.StringgetOutputDir()The output directory where to store the built installer.PlatformgetPlatform()The target platform.shortgetWin32InstallerLauncherType()Installer Launcher type for the build targetjava.lang.StringgetWithoutVmDirectDownloadUrl()Dont Search For VM - Download URLjava.lang.StringgetWithoutVmSearchForVmIfNotFoundDownloadUrl()Search For VM - If not Found Download URLshortgetWithoutVmSearchOption()The getter method for JVM Search Option for the without-vm case WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_EXIT=10; WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_DOWNLOAD=11; WITHOUT_VM_DO_NOT_SEARCH_DOWNLOAD=12; USE_MAC_JRE=13;shortgetWithVMSearchOption()The setter method for JVM Search Option for the with-vm case WITH_VM_SEARCH_FOR_VM_IF_NOT_FOUND_USE_BUNDLED=20; WITH_VM_DONT_SEARCH_USE_BUNDLED=21;voidsetBuildNoVM(boolean buildNoVM)Whether or not to build the installer with no bundled Java VM.voidsetBuildWithVM(boolean buildWithVM)Whether or not to build the installer with a bundled Java VM.voidsetBundledVM(java.lang.String bundledVM)The Java VM that should be bundled into the installer.voidsetMd5CheckApplicable_dontSearch_download(boolean md5Check)Whether or not to perform MD5 check on downloaded JVM.voidsetMd5CheckApplicable_search_notFound_download(boolean md5Check)Whether or not to perform MD5 check on downloaded JVM.voidsetMd5CheckHash_dontSearch_download(java.lang.String md5CheckHash)MD5 checksum for the downloaded JVM.voidsetMd5CheckHash_search_notFound_download(java.lang.String md5CheckHash)MD5 checksum for the downloaded JVM.voidsetOutputDir(java.lang.String outputDir)The output directory where to store the built installer.voidsetPlatform(Platform platform)The target platform.voidsetWin32InstallerLauncherType(short win32InstallerLauncherType)Installer Launcher type for the build targetvoidsetWithoutVmDirectDownloadUrl(java.lang.String withoutVmDirectDownloadUrl)Dont Search For VM - Download URLvoidsetWithoutVmSearchForVmIfNotFoundDownloadUrl(java.lang.String withoutVmSearchForVmIfNotFoundDownloadUrl)Search For VM - If not Found Download URLvoidsetWithoutVmSearchOption(short withoutVmSearchOption)The setter method for JVM Search Option for the without-vm case WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_EXIT=10; WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_DOWNLOAD=11; WITHOUT_VM_DO_NOT_SEARCH_DOWNLOAD=12; USE_MAC_JRE=13voidsetWithVMSearchOption(short withVMSearchOption)The setter method for JVM Search Option for the with-vm case WITH_VM_SEARCH_FOR_VM_IF_NOT_FOUND_USE_BUNDLED=20; WITH_VM_DONT_SEARCH_USE_BUNDLED=21;-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
getWithoutVmSearchOption
public short getWithoutVmSearchOption()
The getter method for JVM Search Option for the without-vm case WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_EXIT=10; WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_DOWNLOAD=11; WITHOUT_VM_DO_NOT_SEARCH_DOWNLOAD=12; USE_MAC_JRE=13;
-
setWithoutVmSearchOption
public void setWithoutVmSearchOption(short withoutVmSearchOption)
The setter method for JVM Search Option for the without-vm case WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_EXIT=10; WITHOUT_VM_SEARCH_FOR_VM_IF_NOT_FOUND_DOWNLOAD=11; WITHOUT_VM_DO_NOT_SEARCH_DOWNLOAD=12; USE_MAC_JRE=13
-
getWithVMSearchOption
public short getWithVMSearchOption()
The setter method for JVM Search Option for the with-vm case WITH_VM_SEARCH_FOR_VM_IF_NOT_FOUND_USE_BUNDLED=20; WITH_VM_DONT_SEARCH_USE_BUNDLED=21;
-
setWithVMSearchOption
public void setWithVMSearchOption(short withVMSearchOption)
The setter method for JVM Search Option for the with-vm case WITH_VM_SEARCH_FOR_VM_IF_NOT_FOUND_USE_BUNDLED=20; WITH_VM_DONT_SEARCH_USE_BUNDLED=21;
-
getWithoutVmSearchForVmIfNotFoundDownloadUrl
public java.lang.String getWithoutVmSearchForVmIfNotFoundDownloadUrl()
Search For VM - If not Found Download URL
-
setWithoutVmSearchForVmIfNotFoundDownloadUrl
public void setWithoutVmSearchForVmIfNotFoundDownloadUrl(java.lang.String withoutVmSearchForVmIfNotFoundDownloadUrl)
Search For VM - If not Found Download URL
-
getWithoutVmDirectDownloadUrl
public java.lang.String getWithoutVmDirectDownloadUrl()
Dont Search For VM - Download URL
-
setWithoutVmDirectDownloadUrl
public void setWithoutVmDirectDownloadUrl(java.lang.String withoutVmDirectDownloadUrl)
Dont Search For VM - Download URL
-
getWin32InstallerLauncherType
public short getWin32InstallerLauncherType()
Installer Launcher type for the build target
-
setWin32InstallerLauncherType
public void setWin32InstallerLauncherType(short win32InstallerLauncherType)
Installer Launcher type for the build target
-
getOutputDir
public java.lang.String getOutputDir()
The output directory where to store the built installer.
-
setOutputDir
public void setOutputDir(java.lang.String outputDir)
The output directory where to store the built installer.
-
getBuildNoVM
public boolean getBuildNoVM()
Whether or not to build the installer with no bundled Java VM.
-
setBuildNoVM
public void setBuildNoVM(boolean buildNoVM)
Whether or not to build the installer with no bundled Java VM.
-
getBuildWithVM
public boolean getBuildWithVM()
Whether or not to build the installer with a bundled Java VM.
-
setBuildWithVM
public void setBuildWithVM(boolean buildWithVM)
Whether or not to build the installer with a bundled Java VM.
-
setBundledVM
public void setBundledVM(java.lang.String bundledVM)
The Java VM that should be bundled into the installer. The VM should be valid for the target platform.The supported VMs can be found under the "resource/installer_vms" directory of the InstallAnywhere installation folder. The VM name is the name of the files found under that directory. For example: "SunJRE160_02Win32.vm".
- See Also:
setBuildWithVM(boolean)
-
getBundledVM
public java.lang.String getBundledVM()
The Java VM that should be bundled into the installer. The VM should be valid for the target platform.The supported VMs can be found under the "resource/installer_vms" directory of the InstallAnywhere installation folder. The VM name is the name of the files found under that directory. For example: "SunJRE160_02Win32.vm".
- See Also:
getBuildWithVM()
-
getPlatform
public Platform getPlatform()
The target platform.
-
setPlatform
public void setPlatform(Platform platform)
The target platform.
-
getMd5CheckApplicable_search_notFound_download
public boolean getMd5CheckApplicable_search_notFound_download()
Whether or not to perform MD5 check on downloaded JVM.
-
setMd5CheckApplicable_search_notFound_download
public void setMd5CheckApplicable_search_notFound_download(boolean md5Check)
Whether or not to perform MD5 check on downloaded JVM.
-
getMd5CheckHash_search_notFound_download
public java.lang.String getMd5CheckHash_search_notFound_download()
MD5 checksum for the downloaded JVM.
-
setMd5CheckHash_search_notFound_download
public void setMd5CheckHash_search_notFound_download(java.lang.String md5CheckHash)
MD5 checksum for the downloaded JVM.
-
getMd5CheckApplicable_dontSearch_download
public boolean getMd5CheckApplicable_dontSearch_download()
Whether or not to perform MD5 check on downloaded JVM.
-
setMd5CheckApplicable_dontSearch_download
public void setMd5CheckApplicable_dontSearch_download(boolean md5Check)
Whether or not to perform MD5 check on downloaded JVM.
-
getMd5CheckHash_dontSearch_download
public java.lang.String getMd5CheckHash_dontSearch_download()
MD5 checksum for the downloaded JVM.
-
setMd5CheckHash_dontSearch_download
public void setMd5CheckHash_dontSearch_download(java.lang.String md5CheckHash)
MD5 checksum for the downloaded JVM.
-
-