Skip to content

Interface InstallJavaOptions

🏷️ Properties

cacheDir optional

ts
cacheDir: string

The cached directory which compressed java lzma will be download to.

Defined in: packages/installer/java.ts:36

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

destination

ts
destination: string

The destination of this installation

Defined in: packages/installer/java.ts:31

dispatcher optional

ts
dispatcher: Dispatcher

The dispatcher for API

Defined in: packages/installer/java.ts:49

headers optional

ts
headers: Record<string, any>

The header of the request Inherited from: DownloadBaseOptions.headers

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

platform optional

ts
platform: Platform

The platform to install. It will be auto-resolved by default.

Defined in: packages/installer/java.ts:41

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

unpackLZMA

ts
unpackLZMA: UnpackLZMAFunction

Unpack lzma function. It must present, else it will not be able to unpack mojang provided LZMA.

Defined in: packages/installer/java.ts:45