213. ProductControl

Product Control routines

213.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    213.2. Global Functions

    213.2.1. AddWizardSteps

    Add Wizard Steps

    Function parameters

    • list<map> stagemode

    Return value

    • void

    213.2.2. DisableModule

    Disable given module in installation workflow

    Function parameters

    • string modname

    Return value

    • list<string> - current list of disabled modules

    213.2.3. DisableProposal

    Disable given proposal in installation workflow

    Function parameters

    • string disable_proposal

    Return value

    • list<string> - current list of disabled proposals

    213.2.4. EnableModule

    Enable given disabled module

    Function parameters

    • string modname

    Return value

    • list<string> - current list of disabled modules

    213.2.5. EnableProposal

    Enable given disabled proposal

    Function parameters

    • string enable_proposal

    Return value

    • list<string> - current list of disabled proposals

    213.2.6. GetDisabledModules

    Returns list of modules disabled in workflow

    Return value

    • list <string> - DisabledModules

    213.2.7. GetDisabledProposals

    Returns list of proposals disabled in workflow

    Return value

    • list <string> - DisabledProposals

    213.2.8. GetUseAutomaticConfiguration

    Returns whether automatic configuration will be enabled.

    Return value

    • boolean - if enabled

    213.2.9. Init

    Initialize Product Control

    Return value

    • boolean - True on success

    213.2.10. ProductControl

    ProductControl Constructor

    Return value

    • void

    213.2.11. ReadControlFile

    Read XML Control File

    Function parameters

    • string controlfile

    Return value

    • boolean

    213.2.12. RequiredFiles

    Get list of required files for the workflow.

    Function parameters

    • string stage

    • string mode

    Return value

    • list<string> - Required files list.

    213.2.13. RestartingStep

    Return step which restarted YaST (or rebooted the system)

    Return value

    • map - a map describing the step

    213.2.14. RetranslateWizardSteps

    Retranslate Wizard Steps

    Return value

    • void

    213.2.15. Run

    Run Workflow

    Return value

    • symbol

    213.2.16. RunRequired

    Returns whether is is required to run YaST in the defined stage and mode

    Function parameters

    • string stage

    • string mode

    Return value

    • boolean - if needed

    213.2.17. SetUseAutomaticConfiguration

    Adjust the automatic configuration to be either enabled or disabled. Enabling it means that second stage will be disabled.

    Function parameters

    • boolean set_param

    Return value

    • void

    213.2.18. SkippedSteps

    List steps which were skipped since last restart of YaST

    Return value

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

    213.2.19. UpdateWizardSteps

    Update Steps

    Function parameters

    • list<map> stagemode

    Return value

    • void

    213.2.20. checkArch

    Check if valid architecture

    Function parameters

    • map mod

    • map def

    Return value

    • boolean - true if arch match

    213.2.21. checkDisabled

    Check if a module is disabled

    Function parameters

    • map mod

    Return value

    • boolean

    213.2.22. 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

    213.2.23. getCompleteWorkflow

    Get Workflow

    Function parameters

    • string stage

    • string mode

    Return value

    • map - Workflow map

    213.2.24. 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

    213.2.25. getModeDefaults

    Get workflow defaults

    Function parameters

    • string stage

    • string mode

    Return value

    • map - defaults

    213.2.26. getModules

    Get modules of current Workflow

    Function parameters

    • string stage

    • string mode

    • symbol which

    Return value

    • list<map> - modules

    213.2.27. getProposalProperties

    Return proposal Label

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • map

    213.2.28. getProposalTextDomain

    Return text domain

    Return value

    • string

    213.2.29. getProposals

    Get modules of current Workflow

    Function parameters

    • string stage

    • string mode

    • string proptype

    Return value

    • list < list > - modules

    213.2.30. getWorkflowLabel

    Get Workflow Label

    Function parameters

    • string stage

    • string mode

    • string wz_td

    Return value

    • string

    213.2.31. setClientPrefix

    Set Client Prefix

    Function parameters

    • string prefix

    Return value

    • void

    213.3. Global Variables

    213.4. Module Requirements

    213.4.1. Module Imports

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

    213.4.2. Module Includes