adding variable bindings option to extended parameters
Change-Id: I4e9fba2da7771d1cac04bcb9818389207a6f301e
This commit is contained in:
parent
23079af777
commit
fc7864ab7f
@ -430,6 +430,8 @@ def extended_choice_param(registry, xml_parent, data):
|
||||
:arg str groovy-script: the groovy script contents (optional, default ',')
|
||||
:arg str groovy-script-file: location of groovy script file to generate
|
||||
parameters (optional, default '')
|
||||
:arg str bindings: variable bindings for the groovy script
|
||||
(optional, default '')
|
||||
:arg str classpath: the classpath for the groovy script
|
||||
(optional, default ',')
|
||||
:arg str default-groovy-script: the default groovy
|
||||
@ -483,6 +485,7 @@ def extended_choice_param(registry, xml_parent, data):
|
||||
('default-property-key', 'defaultPropertyKey', ''),
|
||||
('description-property-file', 'descriptionPropertyFile', ''),
|
||||
('description-property-key', 'descriptionPropertyKey', ''),
|
||||
('bindings', 'bindings', ''),
|
||||
('groovy-script', 'groovyScript', ''),
|
||||
('groovy-script-file', 'groovyScriptFile', ''),
|
||||
('classpath', 'groovyClasspath', ''),
|
||||
|
@ -19,6 +19,7 @@
|
||||
<defaultPropertyKey>fookey</defaultPropertyKey>
|
||||
<descriptionPropertyFile/>
|
||||
<descriptionPropertyKey/>
|
||||
<bindings/>
|
||||
<groovyScript/>
|
||||
<groovyScriptFile/>
|
||||
<groovyClasspath/>
|
||||
@ -43,6 +44,7 @@
|
||||
<defaultPropertyKey/>
|
||||
<descriptionPropertyFile/>
|
||||
<descriptionPropertyKey/>
|
||||
<bindings/>
|
||||
<groovyScript/>
|
||||
<groovyScriptFile/>
|
||||
<groovyClasspath/>
|
||||
@ -67,6 +69,7 @@
|
||||
<defaultPropertyKey/>
|
||||
<descriptionPropertyFile/>
|
||||
<descriptionPropertyKey/>
|
||||
<bindings/>
|
||||
<groovyScript/>
|
||||
<groovyScriptFile/>
|
||||
<groovyClasspath/>
|
||||
|
@ -19,6 +19,7 @@
|
||||
<defaultPropertyKey/>
|
||||
<descriptionPropertyFile/>
|
||||
<descriptionPropertyKey/>
|
||||
<bindings/>
|
||||
<groovyScript>return 'value1, value2, value3'</groovyScript>
|
||||
<groovyScriptFile/>
|
||||
<groovyClasspath/>
|
||||
|
@ -19,6 +19,7 @@
|
||||
<defaultPropertyKey/>
|
||||
<descriptionPropertyFile/>
|
||||
<descriptionPropertyKey/>
|
||||
<bindings/>
|
||||
<groovyScript/>
|
||||
<groovyScriptFile/>
|
||||
<groovyClasspath/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user