libstorage-ng
Loading...
Searching...
No Matches
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]

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]

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:
  • /home/abuild/rpmbuild/BUILD/libstorage-ng-4.5.266-build/libstorage-ng-4.5.266/storage/CompoundAction.h