pyanaconda.modules.payloads.payload.payload_base_interface

Classes

PayloadBaseInterface

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.

connect_signals()[source]

Connect the signals.

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]

property Sources: List[ObjPath][source]

Get list of sources attached to this payload.

Return type:

List[ObjPath]

SetUpSourcesWithTask()[source]

Set up installation sources.

Return type:

ObjPath

TearDownSourcesWithTask()[source]

Tear down installation sources.

Return type:

ObjPath