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):
%3 apm::package_version::attributes::default_value apm::package_version::attributes::default_value (public) apm::package_version::attributes::get_spec apm::package_version::attributes::get_spec apm::package_version::attributes::default_value->apm::package_version::attributes::get_spec apm::package_version::attributes::generate_xml apm::package_version::attributes::generate_xml (private) apm::package_version::attributes::generate_xml->apm::package_version::attributes::get_spec apm::package_version::attributes::get_pretty_name apm::package_version::attributes::get_pretty_name (public) apm::package_version::attributes::get_pretty_name->apm::package_version::attributes::get_spec apm::package_version::attributes::parse_xml apm::package_version::attributes::parse_xml (private) apm::package_version::attributes::parse_xml->apm::package_version::attributes::get_spec apm::package_version::attributes::store apm::package_version::attributes::store (private) apm::package_version::attributes::store->apm::package_version::attributes::get_spec apm::package_version::attributes::generate_xml_element apm::package_version::attributes::generate_xml_element (private) apm::package_version::attributes::get_spec->apm::package_version::attributes::generate_xml_element

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

[ hide source ] | [ make this the default ]
Show another procedure: