public class TailCommand extends Command
| Constructor and Description |
|---|
TailCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
follow(LogManager manager,
String name,
String group,
Renderer render,
int timeout) |
String |
name() |
boolean |
run(LogManager manager,
org.apache.commons.cli.CommandLine cmd) |
protected void |
tail(LogManager manager,
String name,
String group,
int lines,
Renderer render) |
void |
updateOptions(org.apache.commons.cli.Options options) |
getRecordRendererprotected static final String NAME
public TailCommand()
public void updateOptions(org.apache.commons.cli.Options options)
updateOptions in class Commandpublic boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException
run in class CommandInterruptedExceptionprotected void tail(LogManager manager, String name, String group, int lines, Renderer render) throws InterruptedException
InterruptedExceptionprotected void follow(LogManager manager, String name, String group, Renderer render, int timeout) throws InterruptedException
InterruptedExceptionCopyright © 2018 Nuxeo. All rights reserved.