Interface Talker

  • All Known Implementing Classes:
    DefaultTalker, JLine2Talker

    public interface Talker
    Interface for a simple line-based question/answer dialog with the user
    • Method Detail

      • exchange

        java.lang.String exchange​(java.lang.String out)
        Send some output to the user and get some input back
        Parameters:
        out - output to be sent to the user
        Returns:
        the user's response
      • setAutoCompletion

        default void setAutoCompletion​(java.util.List<java.lang.String> candidates)