Results
Object Hierarchy:
Description:
Namespace: Pk
Package: packagekit-glib2
Content:
Properties:
- public uint inputs { get; set; }
- public Progress progress { owned get; set; }
- public Role role { get; set; }
- public uint64 transaction_flags { get; set; }
A Bitfield containing TransactionFlag for this result.
Creation methods:
- public Results ()
Methods:
- public bool add_category (Category item)
Adds a category item to the results set.
- public bool add_details (Details item)
Adds some package details to the results set.
- public bool add_distro_upgrade (DistroUpgrade item)
Adds a distribution upgrade item to the results set.
- public bool add_eula_required (EulaRequired item)
Adds some EULA details to the results set.
- public bool add_files (Files item)
Adds some files details to the results set.
- public bool add_media_change_required (MediaChangeRequired item)
Adds some media change details to the results set.
- public bool add_package (Package item)
Adds a package to the results set.
- public bool add_repo_detail (RepoDetail item)
Adds some repository details to the results set.
- public bool add_repo_signature_required (RepoSignatureRequired item)
Adds some repository signature details to the results set.
- public bool add_require_restart (RequireRestart item)
Adds a require restart item to the results set.
- public bool add_transaction (TransactionPast item)
Adds a transaction item to the results set.
- public bool add_update_detail (UpdateDetail item)
Adds some update details to the results set.
- public GenericArray<unowned Category> get_category_array ()
Gets the categories from the transaction.
- public GenericArray<unowned Details> get_details_array ()
Gets the package details from the transaction.
- public GenericArray<unowned DistroUpgrade> get_distro_upgrade_array ()
Gets the distribution upgrades from the transaction.
- public Error get_error_code ()
Gets the last error code from the transaction.
- public GenericArray<unowned EulaRequired> get_eula_required_array ()
Gets the eulas required from the transaction.
- public Exit get_exit_code ()
Gets the exit enum.
- public GenericArray<unowned Files> get_files_array ()
Gets the files from the transaction.
- public GenericArray<unowned MediaChangeRequired> get_media_change_required_array ()
Gets the media changes required from the transaction.
- public GenericArray<unowned Package> get_package_array ()
Gets the packages from the transaction.
- public PackageSack get_package_sack ()
Gets a package sack from the transaction.
- public GenericArray<unowned RepoDetail> get_repo_detail_array ()
Gets the repository details from the transaction.
- public GenericArray<unowned RepoSignatureRequired> get_repo_signature_required_array ()
Gets the repository signatures required from the transaction.
- public GenericArray<unowned RequireRestart> get_require_restart_array ()
Gets the require restarts from the transaction.
- public Restart get_require_restart_worst ()
This method returns the 'worst' restart of all the transactions.
- public Role get_role ()
Gets the role that produced these results.
- public GenericArray<unowned TransactionPast> get_transaction_array ()
Gets the transactions from the transaction.
- public Bitfield get_transaction_flags ()
Gets the transaction flag for these results.
- public GenericArray<unowned UpdateDetail> get_update_detail_array ()
Gets the update details from the transaction.
- public bool set_error_code (Error item)
Adds some error details to the results set.
- public bool set_exit_code (Exit exit_enum)
Sets the results object to have the given exit code.
- public bool set_role (Role role)
Sets the results object to have the given role enum.
Inherited Members:
All known members inherited from class GLib.Object