Skip to content

Commit f3ff414

Browse files
committed
Update to current script parameter syntax
1 parent 9898c21 commit f3ff414

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

‎src/main/resources/script_templates/Intro/Greeting.bsh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#@ String name
2-
#@ OUTPUT String greeting
2+
#@output String greeting
33

44
// A BeanShell script with parameters.
55
// It is the duty of the scripting framework to harvest

‎src/main/resources/script_templates/Intro/Widgets.bsh‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
#@ boolean(label = "boolean") pBoolean
2-
#@ byte(label = "byte") pByte
3-
#@ char(label = "char") pChar
4-
#@ double(label = "double") pDouble
5-
#@ float(label = "float") pFloat
6-
#@ int(label = "int") pInt
7-
#@ long(label = "long") pLong
8-
#@ short(label = "short") pShort
9-
#@ Boolean(label = "Boolean") oBoolean
10-
#@ Byte(label = "Byte") oByte
11-
#@ Character(label = "Character") oCharacter
12-
#@ Double(label = "Double") oDouble
13-
#@ Float(label = "Float") oFloat
14-
#@ Integer(label = "Integer") oInteger
15-
#@ Long(label = "Long") oLong
16-
#@ Short(label = "Short") oShort
17-
#@ int(min = 0, max = 1000) boundedInteger
18-
#@ double(min = 0.2, max = 1000.7, stepSize = 12.34) boundedDouble
1+
#@ boolean (label="boolean") pBoolean
2+
#@ byte (label="byte") pByte
3+
#@ char (label="char") pChar
4+
#@ double (label="double") pDouble
5+
#@ float (label="float") pFloat
6+
#@ int (label="int") pInt
7+
#@ long (label="long") pLong
8+
#@ short (label="short") pShort
9+
#@ Boolean (label="Boolean") oBoolean
10+
#@ Byte (label="Byte") oByte
11+
#@ Character (label="Character") oCharacter
12+
#@ Double (label="Double") oDouble
13+
#@ Float (label="Float") oFloat
14+
#@ Integer (label="Integer") oInteger
15+
#@ Long (label="Long") oLong
16+
#@ Short (label="Short") oShort
17+
#@ int (min=0, max=1000) boundedInteger
18+
#@ double (min=0.2, max=1000.7, stepSize=12.34) boundedDouble
1919
#@ BigInteger bigInteger
2020
#@ BigDecimal bigDecimal
2121
#@ String string
2222
#@ File file
2323
#@ ColorRGB color
24-
#@ OUTPUT String result
24+
#@output String result
2525

2626
// A BeanShell script exercising various parameter types.
2727
// It is the duty of the scripting framework to harvest

0 commit comments

Comments
 (0)