Class

IdeDeployStrategy

Description

abstract class Ide.DeployStrategy : Ide.Object {
  parent_instance: IdeObject
}
No description available.

Ancestors

Instance methods

ide_deploy_strategy_create_runner_async

Gets an IdeRunner that runs apps deployed to the device, if a runner other than the default is needed.

since: 41

ide_deploy_strategy_create_runner_finish

Completes an asynchronous request to get an IdeRunner for the current device.

since: 41

ide_deploy_strategy_deploy_async

Requests that the IdeDeployStrategy deploy the application to the configured device in the build pipeline.

since: 3.32

ide_deploy_strategy_deploy_finish

Completes an asynchronous request to deploy the application to the build pipeline’s device.

since: 3.32

ide_deploy_strategy_load_async

Asynchronously requests that the IdeDeployStrategy load anything necessary to support deployment for pipeline. If the strategy cannot support the pipeline, it should fail with G_IO_ERROR error domain and G_IO_ERROR_NOT_SUPPORTED error code.

since: 3.32

ide_deploy_strategy_load_finish

Completes an asynchronous request to load the IdeDeployStrategy.

since: 3.32

Methods inherited from IdeObject (28)

Please see IdeObject for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from IdeObject (2)
Ide.Object:cancellable

The “cancellable” property is a GCancellable that can be used by operations that will be cancelled when the IdeObject::destroy signal is emitted on self.

since: 3.32

Ide.Object:parent

The parent IdeObject, if any.

since: 3.32

Signals

Signals inherited from IdeObject (1)
IdeObject::destroy

The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.

since: 3.32

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 IdeDeployStrategyClass {
  IdeObjectClass parent;
  void (* load_async) (
    IdeDeployStrategy* self,
    IdePipeline* pipeline,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  gboolean (* load_finish) (
    IdeDeployStrategy* self,
    GAsyncResult* result,
    GError** error
  );
  void (* deploy_async) (
    IdeDeployStrategy* self,
    IdePipeline* pipeline,
    GFileProgressCallback progress,
    gpointer progress_data,
    GDestroyNotify progress_data_destroy,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  gboolean (* deploy_finish) (
    IdeDeployStrategy* self,
    GAsyncResult* result,
    GError** error
  );
  void (* create_runner_async) (
    IdeDeployStrategy* self,
    IdePipeline* pipeline,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  IdeRunner* (* create_runner_finish) (
    IdeDeployStrategy* self,
    GAsyncResult* result,
    GError** error
  );
  None _reserved;
  
}
No description available.
Class members
parent: IdeObjectClass
No description available.
load_async: void (* load_async) ( IdeDeployStrategy* self, IdePipeline* pipeline, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
No description available.
load_finish: gboolean (* load_finish) ( IdeDeployStrategy* self, GAsyncResult* result, GError** error )
No description available.
deploy_async: void (* deploy_async) ( IdeDeployStrategy* self, IdePipeline* pipeline, GFileProgressCallback progress, gpointer progress_data, GDestroyNotify progress_data_destroy, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
No description available.
deploy_finish: gboolean (* deploy_finish) ( IdeDeployStrategy* self, GAsyncResult* result, GError** error )
No description available.
create_runner_async: void (* create_runner_async) ( IdeDeployStrategy* self, IdePipeline* pipeline, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
No description available.
create_runner_finish: IdeRunner* (* create_runner_finish) ( IdeDeployStrategy* self, GAsyncResult* result, GError** error )
No description available.
_reserved: None
No description available.

Virtual methods

Ide.DeployStrategyClass.create_runner_async

Gets an IdeRunner that runs apps deployed to the device, if a runner other than the default is needed.

since: 41

Ide.DeployStrategyClass.create_runner_finish

Completes an asynchronous request to get an IdeRunner for the current device.

since: 41

Ide.DeployStrategyClass.deploy_async

Requests that the IdeDeployStrategy deploy the application to the configured device in the build pipeline.

since: 3.32

Ide.DeployStrategyClass.deploy_finish

Completes an asynchronous request to deploy the application to the build pipeline’s device.

since: 3.32

Ide.DeployStrategyClass.load_async

Asynchronously requests that the IdeDeployStrategy load anything necessary to support deployment for pipeline. If the strategy cannot support the pipeline, it should fail with G_IO_ERROR error domain and G_IO_ERROR_NOT_SUPPORTED error code.

since: 3.32

Ide.DeployStrategyClass.load_finish

Completes an asynchronous request to load the IdeDeployStrategy.

since: 3.32