Foundry.SdkManager

g Foundry.Contextual Foundry.Contextual Foundry.Service Foundry.Service Foundry.Contextual->Foundry.Service Foundry.SdkManager Foundry.SdkManager Foundry.Service->Foundry.SdkManager GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Gio.ListModel->Foundry.SdkManager Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)

Structs:

Foundry.ServiceClass (3), GObject.ObjectClass (5)

dup_sdk ()

find_by_id (sdk_id)

set_sdk (sdk)

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)

Properties

Inherited:

Foundry.Contextual (1)

Name

Type

Flags

Short Description

sdk

Foundry.Sdk

r/w/en

Signals

Inherited:

GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

GObject.Object (1), Gio.ListModel (1)

Class Details

class Foundry.SdkManager(**kwargs)
Bases:

Foundry.Service, Gio.ListModel

Abstract:

No

Structure:

Foundry.SdkManagerClass

Manages plugins providing SDK providers and their SDKs.

dup_sdk()
Returns:

a Foundry.Sdk or None

Return type:

Foundry.Sdk or None

Gets the active SDK.

This is generally used for build pipelines, terminal shells, and more.

find_by_id(sdk_id)
Parameters:

sdk_id (str) – the identifier of the SDK

Returns:

a [class`Foundry`.Sdk] or None

Return type:

Dex.Future or None

Find a SDK by its identifier.

set_sdk(sdk)
Parameters:

sdk (Foundry.Sdk) –

Property Details

Foundry.SdkManager.props.sdk
Name:

sdk

Type:

Foundry.Sdk

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY