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-12-19 10:07:55 +0100