Processing of only one command within one class
@JavaCommandService (1)
public class CommandClass {
[...]
@JavaCommand (2)
@Persistent
public String myCommand(@Persistent String stringVariable) {
return stringVariable + "hello";
}
// simple dummy method, not a command
public int retNum(int number) {
return number;
}
}
Last updated 2025-09-30 16:02:30 +0200