Interface InputProvider

All Known Implementing Classes:
ConsoleInputProvider, FileInputProvider, JLineInputProvider

public interface InputProvider
To be implemented by components able to provide a "line" of user input, whether interactively or by batch.
Author:
Eric Bottard, Piotr Olaszewski, Mahmoud Ben Hassine
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Return text entered by user to invoke commands.
  • Method Details

    • readInput

      @Nullable String readInput() throws Exception
      Return text entered by user to invoke commands.
      Returns:
      user input line or null if end of input is reached
      Throws:
      Exception - on error