Product Control routines
List of Global Functions
AddWizardSteps - Add Wizard Steps
DisableModule - Disable given module in installation workflow
DisableProposal - Disable given proposal in installation workflow
EnableModule - Enable given disabled module
EnableProposal - Enable given disabled proposal
GetDisabledModules - Returns list of modules disabled in workflow
GetDisabledProposals - Returns list of proposals disabled in workflow
GetUseAutomaticConfiguration - Returns whether automatic configuration will be enabled.
Init - Initialize Product Control
ProductControl - ProductControl Constructor
ReadControlFile - Read XML Control File
RequiredFiles - Get list of required files for the workflow.
RestartingStep - Return step which restarted YaST (or rebooted the system)
RetranslateWizardSteps - Retranslate Wizard Steps
Run - Run Workflow
RunRequired - Returns whether is is required to run YaST in the defined stage and mode
SetUseAutomaticConfiguration - Adjust the automatic configuration to be either enabled or disabled. Enabling it means that second stage will be disabled.
SkippedSteps - List steps which were skipped since last restart of YaST
UpdateWizardSteps - Update Steps
checkArch - Check if valid architecture
checkDisabled - Check if a module is disabled
getClientTerm - Return term to be used to run module with CallFunction
getCompleteWorkflow - Get Workflow
getLockedProposals - Get Proposal list that can not be changed by the user.
getModeDefaults - Get workflow defaults
getModules - Get modules of current Workflow
getProposalProperties - Return proposal Label
getProposalTextDomain - Return text domain
getProposals - Get modules of current Workflow
getWorkflowLabel - Get Workflow Label
setClientPrefix - Set Client Prefix
List of Global Variables
Disable given module in installation workflow
Function parameters
string modname
Return value
list<string> - current list of disabled modules
Disable given proposal in installation workflow
Function parameters
string disable_proposal
Return value
list<string> - current list of disabled proposals
Enable given disabled module
Function parameters
string modname
Return value
list<string> - current list of disabled modules
Enable given disabled proposal
Function parameters
string enable_proposal
Return value
list<string> - current list of disabled proposals
Returns list of modules disabled in workflow
Return value
list <string> - DisabledModules
Returns list of proposals disabled in workflow
Return value
list <string> - DisabledProposals
Returns whether automatic configuration will be enabled.
Return value
boolean - if enabled
Read XML Control File
Function parameters
string controlfile
Return value
boolean
Get list of required files for the workflow.
Function parameters
string stage
string mode
Return value
list<string> - Required files list.
Return step which restarted YaST (or rebooted the system)
Return value
map - a map describing the step
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
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
List steps which were skipped since last restart of YaST
Return value
list<map> - a list of maps describing the steps
Check if valid architecture
Function parameters
map mod
map def
Return value
boolean - true if arch match
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
Get Workflow
Function parameters
string stage
string mode
Return value
map - Workflow map
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
Get workflow defaults
Function parameters
string stage
string mode
Return value
map - defaults
Get modules of current Workflow
Function parameters
string stage
string mode
symbol which
Return value
list<map> - modules
Return proposal Label
Function parameters
string stage
string mode
string proptype
Return value
map
Get modules of current Workflow
Function parameters
string stage
string mode
string proptype
Return value
list < list > - modules
Get Workflow Label
Function parameters
string stage
string mode
string wz_td
Return value
string