bsBuildParam

Interface for the declaration of parameters which could be configured by external sources. These parameters are available for example while preparing platforms for testing. There the parameters can be configured individually for each part of the platform.

Integer nGroupOptional

A group with this attribute is optional so that the user in the host application can enable or disable this group. All parameters in the parameter group are enabled or disable accordingly. If this attribute is not set then the group is always enabled.

Integer nGroupEnabled

With this attribute the parameter group is enabled by default. Nevertheless the user in the host application can disable the group (if nGroupOptional is set). If this attribute is not specified then the parameter group is disabled by default.

Integer nGroupPlatform

This attribute defines a parameter group which is related to the platform instead of individual parts on the platform. If this attribute is not set then the parameter group is considered to be related to individual parts.

Integer nGroupDefaultFlags

This attribute defines the default settings of a parameter group. if ‘declareParameterGroup’ is called without providing any ‘nAttributes’ value, then the group is created with nGroupDefaultFlags.

By default a parameter group is enabled, non-optional and part-related. Therefore nGroupDefaultFlags equals nGroupEnabled.

bsBuildParam.declareParameterGroup(sId, sName, sDescription, nAttributes)

Declares a new group of parameters with a unique identifier sId and name sName.

Examples for nAttributes

Arguments:

bsBuildParam.declareParameterInt(sGroupId, sId, sName, nMin, nMax, nDefault, sDescription, sUnit)

Declares an integer value parameter.

Arguments:

bsBuildParam.declareParameterReal(sGroupId, sId, sName, fMin, fMax, fDefault, sDescription, sUnit)

Declares a floating point value parameter.

Arguments:

bsBuildParam.declareParameterBool(sGroupId, sId, sName, bDefault, sDescription)

Declares a boolean value parameter.

Arguments:

bsBuildParam.declareParameterChoice(sGroupId, sId, sName, sOptions, sDefault, sDescription, sUnit)

Declares a multiple-choice parameter. sOptions can be a single string (“;” separated) or an array of strings.

Arguments:

bsBuildParam.declareParameterStr(sGroupId, sId, sName, sDefault, sDescription)

Declares a string value parameter. This parameter type is intended for single line text.

Arguments:

bsBuildParam.declareParameterMultiLineStr(sGroupId, sId, sName, sDefault, sDescription)

Declares a string value parameter. This parameter type is intended for longer text containing line breaks. There is a size limit of 64MB for this type of string.

Arguments:

bsBuildParam.declareParameterBase64Str(sGroupId, sId, sName, sDefault, sDescription)

Declares a string value parameter. This parameter type is intended to store any kind of data as a base64 encoded string. The string is allowed to contain additional whitespace characters and line breaks. There is a size limit of 64MB for this type of string.

Arguments: