pyanaconda.modules.payloads.payload.payload_base_interface
Classes
Base class for all the payload module interfaces. |
Module Contents
- class pyanaconda.modules.payloads.payload.payload_base_interface.PayloadBaseInterface[source]
Bases:
pyanaconda.modules.common.base.base_template.ModuleInterfaceTemplateBase class for all the payload module interfaces.
This object contains API shared by all the payloads. Everything in this object has to be implemented by a payload to be usable.
- property Type: Str[source]
Type of this payload.
Possible types are values of the payload.base.constants.PayloadType enum
- Returns:
a string representation of a payload type
- Return type:
Str
- property SidePayload: ObjPath[source]
Side payload attached to this payload.
The side payload is a payload attached to this payload. It can be configured by this payload.
This side payload calls will be automatically queued for some DBus API in Payloads module.
- Return type:
ObjPath
- property DefaultSourceType: Str[source]
Type of the default source.
See the SourceType enum for valid values.
- Returns:
a string representation of a source type
- Return type:
Str
- property SupportedSourceTypes: List[Str][source]
Get list of supported source types.
See the SourceType enum for valid values.
- Returns:
a list of string representations of source types
- Return type:
List[Str]