apm::package_version::attributes::validate_maturity (private)

 apm::package_version::attributes::validate_maturity maturity

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Parameters:
maturity

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
    set error_message ""
    if { $maturity ne "" } {
        if { ![string is integer -strict $maturity] } {
            set error_message "Maturity must be integer"
        } elseif$maturity < -1 || $maturity > 4 } {
            set error_message "Maturity must be integer between -1 and 4"
        }
    }

    return $error_message
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: