Skip to content

Interface InstallJavaRuntimeOptions

🏷️ Properties

apiHost optional

ts
apiHost: string | string[]

The alternative download host for the file

Defined in: packages/installer/java-runtime.ts:259

checkpointHandler optional

ts
checkpointHandler: CheckpointHandler

The checkpoint handler to save & restore the download progress Inherited from: DownloadBaseOptions.checkpointHandler

Defined in: packages/file-transfer/download.ts:52

checksumValidatorResolver optional

ts
checksumValidatorResolver: (checksum: ChecksumValidatorOptions) => Validator

Defined in: packages/installer/java-runtime.ts:275

destination

ts
destination: string

The destination of this installation

Defined in: packages/installer/java-runtime.ts:263

dispatcher optional

ts
dispatcher: Dispatcher

The undici dispatcher Inherited from: DownloadBaseOptions.dispatcher

Defined in: packages/file-transfer/download.ts:48

headers optional

ts
headers: Record<string, any>

The header of the request Inherited from: DownloadBaseOptions.headers

Defined in: packages/file-transfer/download.ts:40

lzma optional

ts
lzma: boolean | (compressedFilePath: string, targetPath: string) => Promise<void>

Download lzma compressed version instead of raw version.

  • If true, it will just download lzma file version, you need to decompress by youself!
  • If Function, it will use that function to decompress the file!

Defined in: packages/installer/java-runtime.ts:273

manifest

ts
manifest: JavaRuntimeManifest

The actual manfiest to install.

Defined in: packages/installer/java-runtime.ts:267

rangePolicy optional

ts
rangePolicy: RangePolicy

The range policy to compute the ranges to download Inherited from: DownloadBaseOptions.rangePolicy

Defined in: packages/file-transfer/download.ts:44

skipHead optional

ts
skipHead: boolean

Inherited from: DownloadBaseOptions.skipHead

Defined in: packages/file-transfer/download.ts:54

skipPrevalidate optional

ts
skipPrevalidate: boolean

Inherited from: DownloadBaseOptions.skipPrevalidate

Defined in: packages/file-transfer/download.ts:58

skipRevalidate optional

ts
skipRevalidate: boolean

Inherited from: DownloadBaseOptions.skipRevalidate

Defined in: packages/file-transfer/download.ts:56

throwErrorImmediately optional

ts
throwErrorImmediately: boolean

Inherited from: ParallelTaskOptions.throwErrorImmediately

Defined in: packages/installer/utils.ts:97