apm::package_version::attributes::get_spec (public)
apm::package_version::attributes::get_spec
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
Return dynamic attributes of package versions in an array list. The rationale for introducing the dynamic package version attributes is to make it easy to add new package attributes.
- Returns:
- An array list with attribute names as keys and attribute specs as values. The attribute specs are themselves array lists with keys default_value, validation_proc, and pretty_name.
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return { maturity { pretty_name Maturity default_value 0 validation_proc apm::package_version::attributes::validate_maturity size 2 } license { pretty_name License } license_url { pretty_name "License URL" size 80 } package_instance_name { pretty_name "Package instance name" } install { pretty_name "Install additional packages" default_value "" size 80 xml_formatter {generate_xml_element -attribute_name package -multiple} } }Generic XQL file: packages/acs-tcl/tcl/apm-install-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-install-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-install-procs-oracle.xql