Foundry.Service¶
- Subclasses:
Foundry.BuildManager,Foundry.CommandManager,Foundry.ConfigManager,Foundry.DBusService,Foundry.DebuggerManager,Foundry.DependencyManager,Foundry.DeviceManager,Foundry.DiagnosticManager,Foundry.DoapService,Foundry.DocumentationManager,Foundry.FileManager,Foundry.ForgeManager,Foundry.IntentManager,Foundry.LlmManager,Foundry.LogManager,Foundry.LspManager,Foundry.OperationManager,Foundry.RunManager,Foundry.SdkManager,Foundry.SearchManager,Foundry.SecretService,Foundry.TerminalService,Foundry.TestManager,Foundry.TextManager,Foundry.TweakManager,Foundry.VcsManager
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.Service(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class for services in the development environment.
Foundry.Serviceprovides the core interface for services that can be started and stopped within the development environment. It includes lifecycle management, action handling, and provides a unified interface for service coordination and management across the development environment.- classmethod install_action(action_name, parameter_type, activate)¶
- Parameters:
action_name (
str) –activate (
Foundry.ServiceAction) –
- when_ready()¶
- Returns:
- Return type:
Gets a future that resolves when the service has started.
- when_shutdown()¶
- Returns:
- Return type:
Gets a future that resolves when the service has shutdown.