Virtual Method

IdeRuntimeProviderbootstrap_runtime

Declaration

DexFuture*
bootstrap_runtime (
  IdeRuntimeProvider* self,
  IdePipeline* pipeline
)

Description

Locates and installs the necessary runtime for pipeline if possible.

The future must either resolve with an IdeRuntime or reject with error.

Parameters

pipeline

Type: IdePipeline

An IdePipeline.

The data is owned by the caller of the function.

Return value

Type: DexFuture

A DexFuture that resolves an IdeRuntime or rejects with error.

The caller of the function takes ownership of the data, and is responsible for freeing it.