Foundry.BuildManager¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
This signal is emitted when a loaded pipeline has become invalidated. |
Fields¶
- Inherited:
Class Details¶
- class Foundry.BuildManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manages build operations and build system integration.
Foundry.BuildManagercoordinates build pipelines, manages build progress, and provides a unified interface for different build systems. It handles build configuration, execution, and integrates with device management for deployment and testing operations.- build()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
- clean()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
- export()¶
- Returns:
a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [iface`Gio`.File] or rejects with error.
- Return type:
Runs the build pipeline to the export phase.
New in version 1.1.
- get_busy()¶
- Return type:
If the build manager is currently busy running an operation on the active pipeline.
- install()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Runs the build pipeline to the install phase.
New in version 1.1.
- invalidate()¶
- load_pipeline()¶
- Returns:
a
Dex.Futurethat resolves to aFoundry.Pipeline- Return type:
Loads the pipeline as a future.
If the pipeline is already being loaded, the future will be completed as part of that request.
If the pipeline is already loaded, the future returned will already be resolved.
Otherwise, a new request to load the pipeline is created and the future will resolve upon completion.
- purge()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
- rebuild()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
- stop()¶
Stop any active builds controlled by the build manager.
Signal Details¶
- Foundry.BuildManager.signals.pipeline_invalidated(build_manager)¶
- Signal Name:
pipeline-invalidated- Flags:
- Parameters:
build_manager (
Foundry.BuildManager) – The object which received the signal
This signal is emitted when a loaded pipeline has become invalidated. Observers of pipelines may want to call [method`Foundry`.BuildManager.load_pipeline] to request a new pipeline.