getStateNotes() method

Notes on the default behaviour of the dynamic menu.

public String getStateNotes ()


The text is as follow:

Use the following follow up states:
OK: If user selected a menu itemFAIL: Unexpected error occurredDyn EXIT: User selected to exit the menuDyn 1: Menu contains only 1 items, so it's auto selectedDyn 0: Menu contains 0 items, so skipped

This notes can be appended to the subclass notes. For example,
the subclass override the method and embedded the default notes

    public String getStateNotes() {
       StringBuilder sb = new StringBuilder();
       sb.append("State details.\n\n");
       sb.append("- Dyn -9: Missing required input, or invalid format.\n");
       return sb.toString();