Class

FoundryCiJob

unstable since: 1.2

Description [src]

abstract class Foundry.CiJob : GObject.Object
{
  /* No available fields */
}

Abstract representation of a job in a continuous integration pipeline.

CI providers subclass FoundryCiJob and implement the virtual getters. The corresponding properties are read-only. Subclasses whose values can change must emit notify for the affected property.

Available since: 1.2

Hierarchy

hierarchy this FoundryCiJob ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

foundry_ci_job_dup_id

Gets the provider-specific identifier for the job.

unstable since: 1.2

foundry_ci_job_dup_image

Gets the execution image requested by the job, if any.

unstable since: 1.2

foundry_ci_job_dup_pipeline

Gets the pipeline containing the job.

unstable since: 1.2

foundry_ci_job_dup_provider

Gets the provider which created the job.

unstable since: 1.2

foundry_ci_job_dup_reason

Gets the provider’s explanation for the job disposition.

unstable since: 1.2

foundry_ci_job_dup_stage

Gets the pipeline stage containing the job.

unstable since: 1.2

foundry_ci_job_dup_title

Gets the user-visible title of the job.

unstable since: 1.2

foundry_ci_job_get_can_run

Checks whether the job can be run locally.

unstable since: 1.2

foundry_ci_job_get_can_shell

Checks whether an interactive shell can be opened for the job.

unstable since: 1.2

foundry_ci_job_get_disposition

Gets how the provider selected or excluded the job.

unstable since: 1.2

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Foundry.CiJob:can-run

Whether the job can be run locally.

unstable since: 1.2

Foundry.CiJob:can-shell

Whether an interactive shell can be opened for the job.

unstable since: 1.2

Foundry.CiJob:disposition

How the provider selected or excluded the job.

unstable since: 1.2

Foundry.CiJob:id

The provider-specific job identifier.

unstable since: 1.2

Foundry.CiJob:image

The execution image requested by the job.

unstable since: 1.2

Foundry.CiJob:pipeline

The pipeline containing the job.

unstable since: 1.2

Foundry.CiJob:provider

The provider which created the job.

unstable since: 1.2

Foundry.CiJob:reason

The provider’s explanation for the job disposition.

unstable since: 1.2

Foundry.CiJob:stage

The pipeline stage containing the job.

unstable since: 1.2

Foundry.CiJob:title

The user-visible job title.

unstable since: 1.2

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FoundryCiJobClass {
  GObjectClass parent_class;
  char* (* dup_id) (
    FoundryCiJob* self
  );
  char* (* dup_title) (
    FoundryCiJob* self
  );
  char* (* dup_stage) (
    FoundryCiJob* self
  );
  char* (* dup_image) (
    FoundryCiJob* self
  );
  char* (* dup_reason) (
    FoundryCiJob* self
  );
  FoundryCiJobDisposition (* get_disposition) (
    FoundryCiJob* self
  );
  gboolean (* get_can_run) (
    FoundryCiJob* self
  );
  gboolean (* get_can_shell) (
    FoundryCiJob* self
  );
  FoundryCiPipeline* (* dup_pipeline) (
    FoundryCiJob* self
  );
  FoundryCiProvider* (* dup_provider) (
    FoundryCiJob* self
  );
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.

dup_id: char* (* dup_id) ( FoundryCiJob* self )

No description available.

dup_title: char* (* dup_title) ( FoundryCiJob* self )

No description available.

dup_stage: char* (* dup_stage) ( FoundryCiJob* self )

No description available.

dup_image: char* (* dup_image) ( FoundryCiJob* self )

No description available.

dup_reason: char* (* dup_reason) ( FoundryCiJob* self )

No description available.

get_disposition: FoundryCiJobDisposition (* get_disposition) ( FoundryCiJob* self )

No description available.

get_can_run: gboolean (* get_can_run) ( FoundryCiJob* self )

No description available.

get_can_shell: gboolean (* get_can_shell) ( FoundryCiJob* self )

No description available.

dup_pipeline: FoundryCiPipeline* (* dup_pipeline) ( FoundryCiJob* self )

No description available.

dup_provider: FoundryCiProvider* (* dup_provider) ( FoundryCiJob* self )

No description available.

Virtual methods

Foundry.CiJobClass.dup_id

Gets the provider-specific identifier for the job.

unstable since: 1.2

Foundry.CiJobClass.dup_image

Gets the execution image requested by the job, if any.

unstable since: 1.2

Foundry.CiJobClass.dup_pipeline

Gets the pipeline containing the job.

unstable since: 1.2

Foundry.CiJobClass.dup_provider

Gets the provider which created the job.

unstable since: 1.2

Foundry.CiJobClass.dup_reason

Gets the provider’s explanation for the job disposition.

unstable since: 1.2

Foundry.CiJobClass.dup_stage

Gets the pipeline stage containing the job.

unstable since: 1.2

Foundry.CiJobClass.dup_title

Gets the user-visible title of the job.

unstable since: 1.2

Foundry.CiJobClass.get_can_run

Checks whether the job can be run locally.

unstable since: 1.2

Foundry.CiJobClass.get_can_shell

Checks whether an interactive shell can be opened for the job.

unstable since: 1.2

Foundry.CiJobClass.get_disposition

Gets how the provider selected or excluded the job.

unstable since: 1.2