-
Notifications
You must be signed in to change notification settings - Fork 33
User Guide
ombre42 edited this page Jun 6, 2012
·
11 revisions
Java type | Python type |
String (empty) | None |
String, char[] | string |
int, Integer, short, Short, byte, Byte | int |
long, Long | string |
double, Double, float, Float | float |
boolean, Boolean | bool |
List | list |
array of primitive types except char | list |
array of <? extends Object> | list |
Iterable | list |
Map[1] | dict |
All others | string |
Java type | Python type |
String (will be empty) | None |
String | string |
int, Integer | int |
double, Double | float |
boolean, Boolean | bool |
List<Object> | list, tuple |
Object[][1] | list, tuple |
Map | dict |
Dynamic libraries are responsible for dispatching run_keyword calls. jrobotremoteserver, therefore, has no way of determining the parameter types. Do not mix arrays and lists because of this. jrobotremoteserver will send array-type (XML-RPC) arguments as arrays first. If that fails due to an IllegalArgumentException, it will convert arrays to ArrayLists and invoke run_Keyword/runKeyword again.
Public methods in the user class and its super classes are considered keywords. Methods from Object.class that are not overridden are excluded.
Currently, jrobotremoteserver does not support using multiple methods to implement a single keyword as seen the user guide.