documentation
documentation copied to clipboard
[ Java documentation issue ] How to customize your Activity Type is faulty
Faulty Doc
What is the issue?
According to the example in the documentation ActivityInterface namePrefix and ActivityMethod name should work together but that's not the case
How can we reproduce the issue? Define a simple Activity definition
@ActivityInterface(namePrefix = "Test_")
public interface HelloWorldActivities {
@ActivityMethod(name = "abc")
String composeGreeting(String name);
String sendGreeting(String input);
}
What is the expected behavior?
According to the docs both activity types should have included the namePrefix value. Ex:
Test_sendGreeting
Test_abc
But that's not the case for the first method (composeGreeting) with the ActivityMethod (name...) annotation.