187. ProductControl

Product Control routines

187.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    187.2. Global Functions

    187.2.1. AddWizardSteps

    Add Wizard Steps

    Function parameters

    • list<map> stagemode

    Return value

    • void

    187.2.2. Init

    Initialize Product Control

    Return value

    • boolean - True on success

    187.2.3. ProductControl

    ProductControl Constructor

    Return value

    • void

    187.2.4. ReadControlFile

    Read XML Control File

    Function parameters

    • string controlfile

    Return value

    • boolean

    187.2.5. RequiredFiles

    Get list of required files for the workflow.

    Function parameters

    • string stage

    • string mode

    Return value

    • list<string> - Required files list.

    187.2.6. RestartingStep

    Return step which restarted YaST (or rebooted the system)

    Return value

    • map - a map describing the step

    187.2.7. RetranslateWizardSteps

    Retranslate Wizard Steps

    Return value

    • void

    187.2.8. Run

    Run Workflow

    Return value

    • symbol

    187.2.9. SkippedSteps

    List steps which were skipped since last restart of YaST

    Return value

    • list<map> - a list of maps describing the steps

    187.2.10. UpdateWizardSteps

    Update Steps

    Function parameters

    • list<map> stagemode

    Return value

    • void

    187.2.11. checkArch

    Check if valid architecture

    Function parameters

    • map mod

    • map def

    Return value

    • boolean - true if arch match

    187.2.12. checkDisabled

    Check if a module is disabled

    Function parameters

    • map mod

    Return value

    • boolean

    187.2.13. getClientTerm

    Return term to be used to run module with CallFunction

    Function parameters

    • map step

    • map def

    • any former_result

    Return value

    • term - module data with params

    187.2.14. getCompleteWorkflow

    Get Workflow

    Function parameters

    • string stage

    • string mode

    Return value

    • map - Workflow map

    187.2.15. getLockedProposals

    Get Proposal list that can not be changed by the user.

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • list<string> - list of locked proposals

    187.2.16. getModeDefaults

    Get workflow defaults

    Function parameters

    • string stage

    • string mode

    Return value

    • map - defaults

    187.2.17. getModules

    Get modules of current Workflow

    Function parameters

    • string stage

    • string mode

    • symbol which

    Return value

    • list<map> - modules

    187.2.18. getProposalProperties

    Return proposal Label

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • map

    187.2.19. getProposalTextDomain

    Return text domain

    Return value

    • string

    187.2.20. getProposals

    Get modules of current Workflow

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • list < list > - modules

    187.2.21. getWorkflowLabel

    Get Workflow Label

    Function parameters

    • string stage

    • string mode

    • string wz_td

    Return value

    • string

    187.2.22. setClientPrefix

    Set Client Prefix

    Function parameters

    • string prefix

    Return value

    • void

    187.3. Global Variables

    187.4. Module Requirements

    187.4.1. Module Imports

    • Arch
    • Directory
    • Hooks
    • Label
    • Mode
    • Popup
    • ProductFeatures
    • Report
    • Stage
    • Wizard
    • XML

    187.4.2. Module Includes