Back to index
Summary
Modifies a formal parameter.projectNameStringrequiredThe name for the project that must be unique among all projects. procedureNameStringrequiredThe name of the procedure. formalParameterNameStringrequiredName for this parameter; used when the procedure is invoked to specify a value for the parameter. applicationNameStringoptionalThe name of the application, if the formal parameter is on an application process. archiveConnectorNameStringoptionalThe name of the archive connector, if the formal parameter is on an archive connector. catalogItemNameStringoptionalThe name of the catalog item, if the formal parameter is on a catalog item. catalogNameStringoptionalThe name of the catalog to which the catalog item belongs to. checkedValueStringoptionalParameter value when the checkbox used to render the parameter is checked. Applicable only for checkbox type.clearOptionsBooleanoptionalWhether or not to clear options for formal parameter. componentNameStringoptionalThe name of the component, if the formal parameter is on a component process. dashboardNameStringoptionalThe name of the dashboard, if the formal parameter is on a dashboard. defaultValueStringoptionalIf no value is provided for the parameter when the procedure is invoked, this value will be used. defaultValueDslStringoptionalDSL for default value. dependsOnStringoptionalComma-separated list of formal parameters that this parameter depends on. Use with cascading drop-down ( select ) parameters to declare dependency on one or more parameters.descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. expansionDeferredBooleanoptionalTrue means expansion for this parameter should be deferred: the parameter value will not be expanded when the procedure call is expanded, but can be expanded from a command step instead. flowNameStringoptionalThe name of the flow to which the flow state belongs to. flowStateNameStringoptionalThe name of the flow state, if the formal parameter is on a flow state. gateTypeStringoptionalThe type of the gate which contains the task, if the formal parameter is belongs to a task. Possible values: "POST" , "PRE" labelStringoptionalSpecifies the display label. microserviceNameStringoptionalThe name of the microservice. multiSelectBooleanoptionalWhether or not to use multiselect instead of select. newNameStringoptionalThe new name for an existing object that is being renamed. optionArrayoptionalOrdered list of options. optionsDslStringoptionalDSL for populating drop-down options for select formal parameter type.optionsFromPropertySheetStringoptionalPath to the property sheet containing the options. orderIndexIntegeroptionalSpecifies the display order index (starts from 1). pipelineNameStringoptionalThe name of the pipeline, if the formal parameter is on a pipeline. processNameStringoptionalThe name of the process, if the formal parameter is on a process. processStepNameStringoptionalThe name of the process step, if the formal parameter is on a process step. projectFormalParameterNameStringoptionalUsed when rendering the formal parameter to identify the formal parameter to use in order to get the owning project name. Applicable only for release , pipeline , application , service or environment parameter type.propertyReferenceStringoptionalProperty or property sheet to use for displaying options. propertyReferenceTypeStringoptionalWhether the propertyReference value is a property sheet (default) or a property. For property sheet, nested property names are used as options while for property, the property value is used as an option.Possible values: "plugin" , "property" , "propertySheet" releaseNameStringoptionalThe name of the release, if the formal parameter is on a release-scoped pipeline. renderConditionStringoptionalCondition for rendering the formal parameter. reportNameStringoptionalThe name of the report, if the formal parameter is on a report. requiredBooleanoptionalTrue means this parameter is required: the procedure will not execute unless a value is given for the parameter. simpleListStringoptionalPipe-separated list of options, e.g., option1|option2|option3. stageNameStringoptionalThe name of the stage which contains the task, if the formal parameter is belongs to a task. stateDefinitionNameStringoptionalThe name of the state definition. stateNameStringoptionalThe name of a workflow state. taskNameStringoptionalThe name of the task, if the formal parameter is belongs to a task. typeStringoptionalThe type of a formal parameter. uncheckedValueStringoptionalParameter value when the checkbox used to render the parameter is unchecked. Applicable only for checkbox type.updateFormXmlBooleanoptionalWhether the parameter form XML stored in the procedure property ec_parameterForm should also be updated.validateBooleanoptionalIf passed 0, then all validations check in the DSL arguments (validationDsl, optionsDsl, defaultValueDsl) are deactivated. validationDslStringoptionalDSL for validating the formal parameter. workflowDefinitionNameStringoptionalThe name of the workflow definition. workflowNameStringoptionalThe name of a workflow. |
Usage
Perl
$cmdr->modifyFormalParameter( "test-projectName", # projectName "test-procedureName", # procedureName "test-formalParameterName" # formalParameterName # optionals );
ectool
ectool modifyFormalParameter \ "test-projectName" `# projectName` \ "test-procedureName" `# procedureName` \ "test-formalParameterName" `# formalParameterName` \ # optionals