A Planner is used to construct a CriticalI_ChangeManager_Plan for making changes to a repository or project.
Located in /Core/lib/CriticalI/ChangeManager/Planner.php (line 39)
Class | Description |
---|---|
CriticalI_ChangeManager_RepositoryPlanner | A CriticalI_ChangeManager_Planner specifically for planning changes to |
CriticalI_Project_ChangePlanner | A CriticalI_ChangeManager_Planner specifically for planning changes to |
Constructor
Evaluate the requirements of a plan by adding packages to meet the requirements.
Evaluate an upgrade request for a set of packages.
Return the named CriticalI_Package_Version instance from the installed list.
Create a plan for installing the specified package or packages.
A few notes on the usage of the parameters. `packageName` may be a string specifying a single package or an array of package names. Likewise `version` may be a single version specification string or an array of version specifications. When `packageName` is a single string, `version` must also be a single string, and when `packageName` is an array, `version` must either be an array of the same size or a single string (indicating the same version specification applies to packages). If no version specification is provided, the specification "*" (meaning any version) is used.
Determine if a specific package version or newer is already installed.
Determine if a specific package version is already installed.
Determine if a package by the same name is already installed.
Return the list of dependencies that are not fulfilled in the system represented by the current installation and the given plan.
Return the version specification as one suitable for an install requirement
Add the dependencies of a package to a list of upgradable packages
Return the list of suitable package versions for installation matching the given package name and version specification.
Normalize $packageName and $version arguments as passed to public methods
Add the closest matching installed package to the remove list
Create a plan for removing the specified package or packages.
See install_plan() for more information on the parameter format.
Determine if the installed set of packages satisfy the requirement for the named package and version.
Clone a package and attempt to add a package to it
Create a plan for upgrading the specified package or packages.
See install_plan() for more information on the parameter format.
Determine if a conflicting package is already installed (or, optionally, will be installed).
Documentation generated on Wed, 25 Apr 2012 09:46:44 -0700 by phpDocumentor 1.4.3