
functions
files
intro
|
|
installation |
modules/ProductControl.ycp |
| Product Control routines |
|
|
|
Imports
- Arch
- Directory
- Hooks
- Label
- Mode
- Popup
- ProductFeatures
- Report
- Stage
- Wizard
- XML
Global Functions
- AddWizardSteps (list<map> stagemode)
- Init ()
- ProductControl ()
- ReadControlFile (string controlfile)
- RequiredFiles (string stage, string mode)
- RetranslateWizardSteps ()
- Run ()
- UpdateWizardSteps (list<map> stagemode)
- checkArch (map mod, map def)
- checkDisabled (map mod)
- getClientTerm (map step, map def, any former_result)
- getCompleteWorkflow (string stage, string mode)
- getLockedProposals (string stage, string mode, string proptype)
- getModeDefaults (string stage, string mode)
- getModules (string stage, string mode, symbol which)
- getProposalProperties (string stage, string mode, string proptype)
- getProposalTextDomain ()
- getProposals (string stage, string mode, string proptype)
- getWorkflowLabel (string stage, string mode)
- setClientPrefix (string prefix)
Local Functions
|
|
|
|
global setClientPrefix (string prefix) -> void
|
|
Set Client Prefix
- Parameters:
|
global checkDisabled (map mod) -> boolean
|
|
Check if a module is disabled
- Parameters:
|
global ReadControlFile (string controlfile) -> boolean
|
|
Read XML Control File
- Parameters:
|
global checkArch (map mod, map def) -> boolean
|
|
Check if valid architecture
- Parameters:
- Return value:
|
global getClientTerm (map step, map def, any former_result) -> term
|
|
Return term to be used to run module with CallFunction
- Parameters:
- Return value:
|
global getModeDefaults (string stage, string mode) -> map
|
|
Get workflow defaults
- Parameters:
- Return value:
|
local PrepareScripts (map m) -> void
|
|
Prepare Workflow Scripts
- Parameters:
|
global RequiredFiles (string stage, string mode) -> list<string>
|
|
Get list of required files for the workflow.
- Parameters:
- Return value:
|
global getCompleteWorkflow (string stage, string mode) -> map
|
|
Get Workflow
- Parameters:
- Return value:
|
global getModules (string stage, string mode, symbol which) -> list<map>
|
|
Get modules of current Workflow
- Parameters:
- Return value:
|
global getWorkflowLabel (string stage, string mode) -> string
|
|
Get Workflow Label
- Parameters:
|
global AddWizardSteps (list<map> stagemode) -> void
|
|
Add Wizard Steps
@param list
- Parameters:
|
global UpdateWizardSteps (list<map> stagemode) -> void
|
|
Update Steps
- Parameters:
|
global RetranslateWizardSteps () -> void
|
|
Retranslate Wizard Steps
|
global getProposals (string stage, string mode, string proptype) -> list < list >
|
|
Get modules of current Workflow
- Parameters:
- Return value:
|
global getLockedProposals (string stage, string mode, string proptype) -> list<string>
|
|
Get Proposal list that can not be changed by the user.
- Parameters:
- Return value:
|
global getProposalTextDomain () -> string
|
|
Return text domain
|
global getProposalProperties (string stage, string mode, string proptype) -> map
|
|
Return proposal Label
- Parameters:
|
global Init () -> boolean
|
|
Initialize Product Control
- Return value:
|
local retranslateWizardDialog () -> void
|
|
Re-translate static part of wizard dialog and other predefined messages
after language change
Run Workflow
If workflow module is marked as optional, skip if it returns nil,
For example, if it is not installed.
|
global ProductControl () -> void
|
|
ProductControl Constructor
|