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.ModuleInterfaceTemplate
Base 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 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]