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) |
getRecordRenderer
protected static final String NAME
public TailCommand()
public void updateOptions(org.apache.commons.cli.Options options)
updateOptions
in class Command
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException
run
in class Command
InterruptedException
protected void tail(LogManager manager, String name, String group, int lines, Renderer render) throws InterruptedException
InterruptedException
protected void follow(LogManager manager, String name, String group, Renderer render, int timeout) throws InterruptedException
InterruptedException
Copyright © 2018 Nuxeo. All rights reserved.