-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmethod.hjson
More file actions
36 lines (30 loc) · 882 Bytes
/
method.hjson
File metadata and controls
36 lines (30 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# all fields are optional, config syntax can be found on https://hjson.org/
# the language of this method
# valid options: js, groovy
# default: js
lang: js
# the imports needed for this method
# valid options: packages only
# default: none
imports: [
"com.example"
"java.math"
]
# the default timeout for this method in seconds. this is the time after which the execution will be interrupted
# valid options: anything
# default: 5
timeout: 5
# the number of messages the method uses
# valid options: anything
# default: 1
length: 1
# the return-type of this method
# valid options: any full java class name, primitive type or void
# default: void
type: void
# the parameters of this method in the order they should have
# valid options: any pair of parameter name + type (any full java class name or primitive type)
# default: none
params: {
name: java.lang.String
}