Package org.forgerock.opendj.setup.model
Interface SetupConsole
public interface SetupConsole
Can be used to consume messages issued by
Setup
process.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
handleError
(String errorMessage) Handles error.void
handleError
(LocalizableMessage errorMessage) Handles error.default void
handleInfo
(String message) Handles an information message issued during setup.void
handleInfo
(LocalizableMessage localizableMessage) Handles an information message issued during setup.void
Handles task start.void
println()
Prints a blank line.void
Handles end of task.
-
Method Details
-
println
void println()Prints a blank line. -
handleInfo
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
Handles an information message issued during setup.- Parameters:
localizableMessage
- The information localized message
-
handleStartTask
Handles task start.- Parameters:
task
- The task description
-
successEndTask
void successEndTask()Handles end of task. -
handleError
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
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
-