Foundry.CommandStage

g Foundry.BuildStage Foundry.BuildStage Foundry.CommandStage Foundry.CommandStage Foundry.BuildStage->Foundry.CommandStage Foundry.Contextual Foundry.Contextual Foundry.Contextual->Foundry.BuildStage GObject.GInterface GObject.GInterface Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.BuildStage (16), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)

Structs:

GObject.ObjectClass (5)

class

new (context, phase, build_command, clean_command, purge_command, query_file, phony)

dup_build_command ()

dup_clean_command ()

dup_purge_command ()

dup_query_file ()

Virtual Methods

Inherited:

Foundry.BuildStage (8), GObject.Object (7), Json.Serializable (5)

Properties

Inherited:

Foundry.BuildStage (6), Foundry.Contextual (1)

Name

Type

Flags

Short Description

build-command

Foundry.Command

r

clean-command

Foundry.Command

r

phony

bool

r

purge-command

Foundry.Command

r

queyr-file

Gio.File

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.CommandStage(**kwargs)
Bases:

Foundry.BuildStage

Abstract:

No

Structure:

Foundry.CommandStageClass

An [class`Foundry`.BuildStage] that runs a command in the build pipeline.

classmethod new(context, phase, build_command, clean_command, purge_command, query_file, phony)
Parameters:
Returns:

a [class`Foundry`.CommandStage]

Return type:

Foundry.BuildStage

dup_build_command()
Returns:

a [class`Foundry`.Command]

Return type:

Foundry.Command or None

dup_clean_command()
Returns:

a [class`Foundry`.Command]

Return type:

Foundry.Command or None

dup_purge_command()
Returns:

a [class`Foundry`.Command]

Return type:

Foundry.Command or None

dup_query_file()
Returns:

the file to check for completion or None if unset.

Return type:

Gio.File or None

Property Details

Foundry.CommandStage.props.build_command
Name:

build-command

Type:

Foundry.Command

Default Value:

None

Flags:

READABLE

Foundry.CommandStage.props.clean_command
Name:

clean-command

Type:

Foundry.Command

Default Value:

None

Flags:

READABLE

Foundry.CommandStage.props.phony
Name:

phony

Type:

bool

Default Value:

False

Flags:

READABLE

Foundry.CommandStage.props.purge_command
Name:

purge-command

Type:

Foundry.Command

Default Value:

None

Flags:

READABLE

Foundry.CommandStage.props.queyr_file
Name:

queyr-file

Type:

Gio.File

Default Value:

None

Flags:

READABLE