Class

FoundryCommand

Description

class Foundry.Command : Foundry.Contextual
  implements Json.Serializable {
  /* No available fields */
}

No description available.

Implements

Constructors

foundry_command_new
No description available.

Instance methods

foundry_command_can_default

Checks to see if self is suitable to be run as the default command when running a project. The priority indicates if it should take priority over other commands which can be default. The highest priority value wins.

foundry_command_dup_argv
No description available.

foundry_command_dup_cwd
No description available.

foundry_command_dup_environ
No description available.

foundry_command_dup_id
No description available.

foundry_command_dup_name
No description available.

foundry_command_get_locality
No description available.

foundry_command_prepare

Prepares launcher to run self.

foundry_command_set_argv
No description available.

foundry_command_set_cwd
No description available.

foundry_command_set_environ
No description available.

foundry_command_set_id
No description available.

foundry_command_set_locality
No description available.

foundry_command_set_name
No description available.

Methods inherited from FoundryContextual (3)
foundry_contextual_dup_context

Gets the FoundryContext that self is a part of while safely increasing the reference count of the resulting FoundryContext by 1.

foundry_contextual_inhibit

Creates a new FoundryInhibitor that will keep the FoundryContext alive and prevent shutdown until foundry_inhibitor_uninhibit() is called or the FoundryInhibitor is finalized, whichever comes first.

foundry_contextual_log
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from JsonSerializable (8)
json_serializable_default_deserialize_property

Calls the default implementation of the Json.SerializableIface.deserialize_property virtual function.

json_serializable_default_serialize_property

Calls the default implementation of the Json.SerializableIface.serialize_property virtual function.

json_serializable_deserialize_property

Asks a JsonSerializable implementation to deserialize the property contained inside property_node and place its value into value.

json_serializable_find_property

Calls the Json.SerializableIface.find_property implementation on the JsonSerializable instance, which will return the property description for the given name.

json_serializable_get_property

Calls the Json.SerializableIface.get_property implementation on the JsonSerializable instance, which will get the value of the given property.

json_serializable_list_properties

Calls the Json.SerializableIface.list_properties implementation on the JsonSerializable instance, which will return the list of serializable properties.

json_serializable_serialize_property

Asks a JsonSerializable implementation to serialize an object property into a JSON node.

json_serializable_set_property

Calls the Json.SerializableIface.set_property implementation on the JsonSerializable instance, which will set the property with the given value.

Properties

Foundry.Command:argv
No description available.

Foundry.Command:cwd
No description available.

Foundry.Command:environ
No description available.

Foundry.Command:id
No description available.

Foundry.Command:locality
No description available.

Foundry.Command:name
No description available.

Foundry.Command:provider
No description available.

Properties inherited from FoundryContextual (1)
Foundry.Contextual:context
No description available.

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 FoundryCommandClass {
  FoundryContextualClass parent_class;
  gboolean (* can_default) (
    FoundryCommand* self,
    guint* priority
  );
  DexFuture* (* prepare) (
    FoundryCommand* self,
    FoundryBuildPipeline* pipeline,
    FoundryProcessLauncher* launcher,
    FoundryBuildPipelinePhase phase
  );
  
}

No description available.

Class members
parent_class: FoundryContextualClass

No description available.

can_default: gboolean (* can_default) ( FoundryCommand* self, guint* priority )

No description available.

prepare: DexFuture* (* prepare) ( FoundryCommand* self, FoundryBuildPipeline* pipeline, FoundryProcessLauncher* launcher, FoundryBuildPipelinePhase phase )

No description available.

Virtual methods

Foundry.CommandClass.can_default

Checks to see if self is suitable to be run as the default command when running a project. The priority indicates if it should take priority over other commands which can be default. The highest priority value wins.

Foundry.CommandClass.prepare

Prepares launcher to run self.