paludis::InstallTask Class Reference
[Tasks]

#include <install_task.hh>

Inheritance diagram for paludis::InstallTask:

paludis::PrivateImplementationPattern< C_ >

List of all members.

Targets

typedef WrappedForwardIterator
< TargetsConstIteratorTag,
const std::string > 
TargetsConstIterator
void set_targets_from_user_specs (const std::tr1::shared_ptr< const Sequence< std::string > > &)
void set_targets_from_exact_packages (const std::tr1::shared_ptr< const PackageIDSequence > &)
void set_targets_from_serialisation (const std::string &, const std::tr1::shared_ptr< const Sequence< std::string > > &)
void clear ()
void override_target_type (const DepListTargetType)
TargetsConstIterator begin_targets () const PALUDIS_ATTRIBUTE((warn_unused_result))
TargetsConstIterator end_targets () const PALUDIS_ATTRIBUTE((warn_unused_result))

Basic operations

 InstallTask (Environment *const env, const DepListOptions &options, const std::tr1::shared_ptr< const DestinationsSet > &destinations)

Basic operations

virtual ~InstallTask ()

DepList and Install behaviour options

void set_fetch_only (const bool value)
void set_pretend (const bool value)
void set_preserve_world (const bool value)
void set_add_to_world_spec (const std::string &)
void set_safe_resume (const bool)
void set_continue_on_failure (const InstallTaskContinueOnFailure)
void set_skip_phases (const std::tr1::shared_ptr< const Set< std::string > > &)
void set_skip_until_phases (const std::tr1::shared_ptr< const Set< std::string > > &)
void set_abort_at_phases (const std::tr1::shared_ptr< const Set< std::string > > &)
void set_phase_options_apply_to_first (const bool)
void set_phase_options_apply_to_last (const bool)
void set_phase_options_apply_to_all (const bool)

Event callbacks

virtual void on_build_deplist_pre ()=0
virtual void on_build_deplist_post ()=0
virtual void on_display_merge_list_pre ()=0
virtual void on_display_merge_list_post ()=0
virtual void on_display_merge_list_entry (const DepListEntry &)=0
virtual void on_display_failure_summary_pre ()=0
virtual void on_display_failure_summary_success (const DepListEntry &)=0
virtual void on_display_failure_summary_failure (const DepListEntry &)=0
virtual void on_display_failure_summary_skipped_unsatisfied (const DepListEntry &, const PackageDepSpec &)=0
virtual void on_display_failure_summary_skipped_dependent (const DepListEntry &, const std::tr1::shared_ptr< const PackageID > &)=0
virtual void on_display_failure_summary_totals (const int, const int, const int, const int, const int)=0
virtual void on_display_failure_summary_post ()=0
virtual void on_not_continuing_due_to_errors ()=0
virtual void on_pretend_all_pre ()=0
virtual void on_pretend_pre (const DepListEntry &)=0
virtual void on_pretend_post (const DepListEntry &)=0
virtual void on_pretend_all_post ()=0
virtual void on_fetch_all_pre ()=0
virtual void on_fetch_pre (const DepListEntry &, const int x, const int y, const int s, const int f)=0
virtual void on_fetch_post (const DepListEntry &, const int x, const int y, const int s, const int f)=0
virtual void on_fetch_all_post ()=0
virtual void on_install_all_pre ()=0
virtual void on_install_pre (const DepListEntry &, const int x, const int y, const int s, const int f)=0
virtual void on_install_post (const DepListEntry &, const int x, const int y, const int s, const int f)=0
virtual void on_install_fail (const DepListEntry &, const int x, const int y, const int s, const int f)=0
virtual void on_install_all_post ()=0
virtual void on_skip_unsatisfied (const DepListEntry &, const PackageDepSpec &, const int x, const int y, const int s, const int f)=0
virtual void on_skip_dependent (const DepListEntry &, const std::tr1::shared_ptr< const PackageID > &, const int x, const int y, const int s, const int f)=0
virtual void on_skip_already_done (const DepListEntry &, const int, const int, const int, const int)=0
virtual void on_clean_pre (const DepListEntry &, const PackageID &, const int x, const int y, const int s, const int f)=0
virtual void on_clean_post (const DepListEntry &, const PackageID &, const int x, const int y, const int s, const int f)=0
virtual void on_clean_fail (const DepListEntry &, const PackageID &, const int x, const int y, const int s, const int f)=0
virtual void on_update_world_pre ()=0
virtual void on_update_world (const PackageDepSpec &)=0
virtual void on_update_world (const SetName &)=0
virtual void on_update_world_skip (const PackageDepSpec &, const std::string &)=0
virtual void on_update_world_skip (const SetName &, const std::string &)=0
virtual void on_update_world_post ()=0
virtual void on_preserve_world ()=0
virtual void on_installed_paludis ()
virtual void on_ambiguous_package_name_error (const AmbiguousPackageNameError &)=0
virtual void on_no_such_package_error (const NoSuchPackageError &)=0
virtual void on_all_masked_error (const AllMaskedError &)=0
virtual void on_additional_requirements_not_met_error (const AdditionalRequirementsNotMetError &)=0
virtual void on_dep_list_error (const DepListError &)=0
virtual void on_had_both_package_and_set_targets_error (const HadBothPackageAndSetTargets &)=0
virtual void on_multiple_set_targets_specified (const MultipleSetTargetsSpecified &)=0
virtual void on_install_action_error (const std::tr1::shared_ptr< OutputManager > &, const ActionError &)=0
virtual void on_fetch_action_error (const std::tr1::shared_ptr< OutputManager > &, const FetchActionError &)=0
virtual void on_phase_skip (const std::tr1::shared_ptr< OutputManager > &output_manager, const std::string &phase)=0
virtual void on_phase_abort (const std::tr1::shared_ptr< OutputManager > &output_manager, const std::string &phase)=0
virtual void on_phase_skip_until (const std::tr1::shared_ptr< OutputManager > &output_manager, const std::string &phase)=0
virtual void on_phase_proceed_conditionally (const std::tr1::shared_ptr< OutputManager > &output_manager, const std::string &phase)=0
virtual void on_phase_proceed_unconditionally (const std::tr1::shared_ptr< OutputManager > &output_manager, const std::string &phase)=0

Logic

virtual void world_update_set (const SetName &)
virtual void world_update_packages (const std::tr1::shared_ptr< const SetSpecTree > &)

Public Member Functions

virtual void execute ()
const DepListdep_list () const PALUDIS_ATTRIBUTE((warn_unused_result))
Environmentenvironment () PALUDIS_ATTRIBUTE((warn_unused_result))
const Environmentenvironment () const PALUDIS_ATTRIBUTE((warn_unused_result))
virtual HookResult perform_hook (const Hook &) const PALUDIS_ATTRIBUTE((warn_unused_result))
virtual bool had_resolution_failures () const PALUDIS_ATTRIBUTE((warn_unused_result))
virtual bool had_action_failures () const PALUDIS_ATTRIBUTE((warn_unused_result))
std::string serialise (const bool undo_failures) const PALUDIS_ATTRIBUTE((warn_unused_result))
std::string serialised_format () const PALUDIS_ATTRIBUTE((warn_unused_result))

Protected Member Functions

bool already_done (const DepListEntry &) const PALUDIS_ATTRIBUTE((warn_unused_result))
FetchActionOptions make_fetch_action_options (const DepListEntry &, OutputManagerFromEnvironment &o) const PALUDIS_ATTRIBUTE((warn_unused_result))


Detailed Description

Task used to install one or more targets.

Member Function Documentation

virtual void paludis::InstallTask::execute (  )  [virtual]

Run the task.

const DepList& paludis::InstallTask::dep_list (  )  const

Fetch our deplist.

Environment* paludis::InstallTask::environment (  ) 

Fetch our environment.

const Environment* paludis::InstallTask::environment (  )  const

Fetch our environment.

virtual HookResult paludis::InstallTask::perform_hook ( const Hook  )  const [virtual]

Perform a hook. By default, delegates to environment.

virtual bool paludis::InstallTask::had_resolution_failures (  )  const [virtual]

Have we had any resolution failures?

virtual bool paludis::InstallTask::had_action_failures (  )  const [virtual]

Have we had any action failures?

std::string paludis::InstallTask::serialise ( const bool  undo_failures  )  const

Serialise the task.

std::string paludis::InstallTask::serialised_format (  )  const

The format for serialisation.


The documentation for this class was generated from the following file:
Generated on Mon Sep 21 10:36:10 2009 for paludis by  doxygen 1.5.4