Foundry.BuildAddin¶
- Subclasses:
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
|||
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.BuildAddin(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Customize build pipelines from plugins.
This class provides plugins the ability to modify how a build pipeline works by registering stages in the pipeline.
- discover_build_system()¶
- Returns:
a [class`Dex`.Future] that resolves to a string name of the build system or rejects with error.
- Return type:
Discover the build system used by the project.
This may be called _before_ [vfunc`Foundry`.BuildAddin.load] is called so that addins may discover what build system should be used. If the user has already specified a build system then this will not be called during pipeline initialization.
New in version 1.1.
- dup_pipeline()¶
- Returns:
a [class`Foundry`.BuildPipeline or
Noneif the pipeline has been destroyed.- Return type:
Gets the pipeline for which the addin belongs.
- dup_plugin_info()¶
- Returns:
a [class`Peas`.PluginInfo]
- Return type:
- do_discover_build_system() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a string name of the build system or rejects with error.
- Return type:
Discover the build system used by the project.
This may be called _before_ [vfunc`Foundry`.BuildAddin.load] is called so that addins may discover what build system should be used. If the user has already specified a build system then this will not be called during pipeline initialization.
New in version 1.1.
Property Details¶
- Foundry.BuildAddin.props.pipeline¶
- Name:
pipeline- Type:
- Default Value:
- Flags:
- Foundry.BuildAddin.props.plugin_info¶
- Name:
plugin-info- Type:
- Default Value:
- Flags: