libstorage-ng
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
storage::CompoundAction Class Reference

A Compound Action groups several related actions from an actiongraph. More...

#include <CompoundAction.h>

Inheritance diagram for storage::CompoundAction:
[legend]
Collaboration diagram for storage::CompoundAction:
[legend]

Public Member Functions

 CompoundAction (const Actiongraph *actiongraph)
 
const Deviceget_target_device () const
 
std::string sentence () const
 
bool is_delete () const
 
Impl & get_impl ()
 
const Impl & get_impl () const
 

Static Public Member Functions

static CompoundActionfind_by_target_device (Actiongraph *actiongraph, const Device *device)
 Deprecated.
 
static const CompoundActionfind_by_target_device (const Actiongraph *actiongraph, const Device *device)
 Deprecated.
 

Detailed Description

A Compound Action groups several related actions from an actiongraph.

For example, when a partition is created and then formatted and mounted, a Compound Action is created with all that individual actions.

Member Function Documentation

◆ find_by_target_device() [1/2]

static CompoundAction * storage::CompoundAction::find_by_target_device ( Actiongraph actiongraph,
const Device device 
)
static

Deprecated.

There can be several CompoundActions per device. Do not use.

Exceptions
DeviceNotFound

◆ find_by_target_device() [2/2]

static const CompoundAction * storage::CompoundAction::find_by_target_device ( const Actiongraph actiongraph,
const Device device 
)
static

Deprecated.

There can be several CompoundActions per device. Do not use.

Exceptions
DeviceNotFound

The documentation for this class was generated from the following file: