Interface SetupConsole


public interface SetupConsole
Can be used to consume messages issued by Setup process.
  • Method Details

    • println

      void println()
      Prints a blank line.
    • handleInfo

      default void handleInfo(String message)
      Handles an information message issued during setup.
      Parameters:
      message - The information message. If the message can be localized, handleInfo(LocalizableMessage) should be used instead.
    • handleInfo

      void handleInfo(LocalizableMessage localizableMessage)
      Handles an information message issued during setup.
      Parameters:
      localizableMessage - The information localized message
    • handleStartTask

      void handleStartTask(LocalizableMessage task)
      Handles task start.
      Parameters:
      task - The task description
    • successEndTask

      void successEndTask()
      Handles end of task.
    • handleError

      default void handleError(String errorMessage)
      Handles error.

      If this method is called while a task is running it means that the task has failed.

      Parameters:
      errorMessage - The error message. If the message can be localized, handleInfo(LocalizableMessage) should be used instead.
    • handleError

      void handleError(LocalizableMessage errorMessage)
      Handles error.

      If this method is called while a task is running it means that the task has failed.

      Parameters:
      errorMessage - The error localized message