public class ProgressStatusPrinter extends Object implements org.glassfish.api.admin.AdminCommandEventBroker.AdminCommandListener<com.sun.enterprise.admin.remote.sse.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,
com.sun.enterprise.admin.remote.sse.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, com.sun.enterprise.admin.remote.sse.GfSseInboundEvent event)
onAdminCommandEvent in interface org.glassfish.api.admin.AdminCommandEventBroker.AdminCommandListener<com.sun.enterprise.admin.remote.sse.GfSseInboundEvent>public void deleteLastMessage()
public void reset()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.