MECO™ API Reference
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
mMeco.solvers.prioritySol.Solver Class Reference

[ CLASS ] - Abstract solver class. More...

Inheritance diagram for mMeco.solvers.prioritySol.Solver:
mMeco.abstract.solverAbs.Solver

Public Member Functions

def __init__ (self)
 Constructor. More...
 
- Public Member Functions inherited from mMeco.abstract.solverAbs.Solver
def reservedEnvPath (self)
 Property. More...
 
def developmentEnvPath (self)
 Property. More...
 
def stageEnvPath (self)
 Property. More...
 
def projectInternalEnvPath (self)
 Property. More...
 
def projectExternalEnvPath (self)
 Property. More...
 
def masterProjectInternalEnvPath (self)
 Property. More...
 
def masterProjectExternalEnvPath (self)
 Property. More...
 
def solve (self)
 Solve. More...
 

Static Public Member Functions

def setLastVersionOfThePackageToBeUsed (packages)
 Set latest version of the packages to be used by removing other versions from the version list. More...
 
def removeVersionedPackagesFromVersionedPackages (versionedPackagesA, versionedPackagesB)
 Remove versionedPackagesB from versionedPackagesA. More...
 
def removeNonVersionedPackagesFromVersionedPackages (versionedPackages, nonVersionedPackages)
 Remove nonVersionedPackages from versionedPackages. More...
 

Static Public Attributes

string NAME = 'prioritySol'
 [ str ] - Name.
 
- Static Public Attributes inherited from mMeco.abstract.solverAbs.Solver
string NAME = ''
 [ str ] - Name.
 

Detailed Description

[ CLASS ] - Abstract solver class.

Constructor & Destructor Documentation

◆ __init__()

def mMeco.solvers.prioritySol.Solver.__init__ (   self)

Constructor.

Exceptions
N/A
Returns
None - None.

Reimplemented from mMeco.abstract.solverAbs.Solver.

Member Function Documentation

◆ setLastVersionOfThePackageToBeUsed()

def mMeco.solvers.prioritySol.Solver.setLastVersionOfThePackageToBeUsed (   packages)
static

Set latest version of the packages to be used by removing other versions from the version list.

Parameters
packages[ list | None | in ] - Versioned package list.
Exceptions
N/A
Returns
None - None.

◆ removeVersionedPackagesFromVersionedPackages()

def mMeco.solvers.prioritySol.Solver.removeVersionedPackagesFromVersionedPackages (   versionedPackagesA,
  versionedPackagesB 
)
static

Remove versionedPackagesB from versionedPackagesA.

Parameters
versionedPackagesA[ list of dict | None | in ] - Packages.
versionedPackagesB[ list of dict | None | in ] - Packages.
Exceptions
N/A
Returns
None - None.

◆ removeNonVersionedPackagesFromVersionedPackages()

def mMeco.solvers.prioritySol.Solver.removeNonVersionedPackagesFromVersionedPackages (   versionedPackages,
  nonVersionedPackages 
)
static

Remove nonVersionedPackages from versionedPackages.

Parameters
versionedPackages[ list of dict | None | in ] - Packages.
nonVersionedPackages[ list of str | None | in ] - Packages.
Exceptions
N/A
Returns
None - None.

The documentation for this class was generated from the following file: