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 2024-07-05 11:16:52 +0200