Processing of multiple commands within one class
@JavaCommandService (1)
public class CommandClass {
@Service (2)
private ICredentialRequester credentialRequester;
public CommandClass(final ICredentialRequester credentialRequester) {
this.credentialRequester = credentialRequester;
}
public void myCommand1(String str1, String str2) { (3)
int strLength = str1.length() + str2.length();
}
@Deprecated (4)
public int myCommand2(String myReadVariable) { (5)
return 42;
}
}
Last updated 2024-07-05 11:16:53 +0200