#include <install_task.hh>

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) |
Event callbacks | |
| virtual void | on_build_deplist_pre ()=0 |
| virtual void | on_build_deplist_post ()=0 |
| virtual void | on_build_cleanlist_pre (const DepListEntry &)=0 |
| virtual void | on_build_cleanlist_post (const DepListEntry &)=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_no_clean_needed (const DepListEntry &)=0 |
| virtual void | on_clean_all_pre (const DepListEntry &, const PackageIDSequence &)=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_clean_all_post (const DepListEntry &, const PackageIDSequence &)=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 InstallActionError &)=0 |
| virtual void | on_fetch_action_error (const FetchActionError &)=0 |
Logic | |
| virtual void | world_update_set (const SetName &) |
| virtual void | world_update_packages (const std::tr1::shared_ptr< const SetSpecTree::ConstItem > &) |
Public Member Functions | |
| virtual void | execute () |
| const DepList & | dep_list () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| Environment * | environment () PALUDIS_ATTRIBUTE((warn_unused_result)) |
| const Environment * | environment () 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 & | fetch_action_options () PALUDIS_ATTRIBUTE((warn_unused_result)) |
| const DepList& paludis::InstallTask::dep_list | ( | ) | const |
Fetch our deplist.
| const Environment* paludis::InstallTask::environment | ( | ) | const |
Fetch our environment.
| Environment* paludis::InstallTask::environment | ( | ) |
Fetch our environment.
| virtual void paludis::InstallTask::execute | ( | ) | [virtual] |
Run the task.
| virtual bool paludis::InstallTask::had_action_failures | ( | ) | const [virtual] |
Have we had any action failures?
| virtual bool paludis::InstallTask::had_resolution_failures | ( | ) | const [virtual] |
Have we had any resolution failures?
| virtual HookResult paludis::InstallTask::perform_hook | ( | const Hook & | ) | const [virtual] |
Perform a hook. By default, delegates to environment.
| std::string paludis::InstallTask::serialise | ( | const bool | undo_failures | ) | const |
Serialise the task.
| std::string paludis::InstallTask::serialised_format | ( | ) | const |
The format for serialisation.
1.5.7.1