public class ProgressStatusPrinter extends Object implements AdminCommandEventBroker.AdminCommandListener<GfSseInboundEvent>
Constructor and Description |
---|
ProgressStatusPrinter(boolean disableAnimation,
boolean debugOutput,
Logger logger)
Construct new printer
|
Modifier and Type | Method and Description |
---|---|
void |
deleteLastMessage() |
void |
onAdminCommandEvent(String name,
GfSseInboundEvent event) |
void |
reset() |
public ProgressStatusPrinter(boolean disableAnimation, boolean debugOutput, Logger logger)
disableAnimation
- will print each message on new line and spinner as dotsdebugOutput
- expect printing of other data together with progress.
New line must be printed ASAP.public void onAdminCommandEvent(String name, GfSseInboundEvent event)
onAdminCommandEvent
in interface AdminCommandEventBroker.AdminCommandListener<GfSseInboundEvent>
public void deleteLastMessage()
public void reset()
Copyright © 2019. All rights reserved.