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. ABuildTarget
defines 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 boolean
getBuildNoVM()
Whether or not to build the installer with no bundled Java VM.boolean
getBuildWithVM()
Whether or not to build the installer with a bundled Java VM.java.lang.String
getBundledVM()
The Java VM that should be bundled into the installer.boolean
getMd5CheckApplicable_dontSearch_download()
Whether or not to perform MD5 check on downloaded JVM.boolean
getMd5CheckApplicable_search_notFound_download()
Whether or not to perform MD5 check on downloaded JVM.java.lang.String
getMd5CheckHash_dontSearch_download()
MD5 checksum for the downloaded JVM.java.lang.String
getMd5CheckHash_search_notFound_download()
MD5 checksum for the downloaded JVM.java.lang.String
getOutputDir()
The output directory where to store the built installer.Platform
getPlatform()
The target platform.short
getWin32InstallerLauncherType()
Installer Launcher type for the build targetjava.lang.String
getWithoutVmDirectDownloadUrl()
Dont Search For VM - Download URLjava.lang.String
getWithoutVmSearchForVmIfNotFoundDownloadUrl()
Search For VM - If not Found Download URLshort
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;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;void
setBuildNoVM(boolean buildNoVM)
Whether or not to build the installer with no bundled Java VM.void
setBuildWithVM(boolean buildWithVM)
Whether or not to build the installer with a bundled Java VM.void
setBundledVM(java.lang.String bundledVM)
The Java VM that should be bundled into the installer.void
setMd5CheckApplicable_dontSearch_download(boolean md5Check)
Whether or not to perform MD5 check on downloaded JVM.void
setMd5CheckApplicable_search_notFound_download(boolean md5Check)
Whether or not to perform MD5 check on downloaded JVM.void
setMd5CheckHash_dontSearch_download(java.lang.String md5CheckHash)
MD5 checksum for the downloaded JVM.void
setMd5CheckHash_search_notFound_download(java.lang.String md5CheckHash)
MD5 checksum for the downloaded JVM.void
setOutputDir(java.lang.String outputDir)
The output directory where to store the built installer.void
setPlatform(Platform platform)
The target platform.void
setWin32InstallerLauncherType(short win32InstallerLauncherType)
Installer Launcher type for the build targetvoid
setWithoutVmDirectDownloadUrl(java.lang.String withoutVmDirectDownloadUrl)
Dont Search For VM - Download URLvoid
setWithoutVmSearchForVmIfNotFoundDownloadUrl(java.lang.String withoutVmSearchForVmIfNotFoundDownloadUrl)
Search For VM - If not Found Download URLvoid
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=13void
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;-
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.
-
-