Class Command
java.lang.Object
org.nuxeo.lib.stream.tools.command.Command
- Direct Known Subclasses:
AppendCommand
,CatCommand
,CopyCommand
,DumpCommand
,HelpCommand
,LagCommand
,LatencyCommand
,MonitorCommand
,PositionCommand
,RestoreCommand
,TailCommand
,TestCommand
,TrackerCommand
,WorkCatCommand
- Since:
- 9.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRecordCodec
(String codec) protected Renderer
getRecordRenderer
(String render, String avroSchemaStorePath, int dataSize) abstract String
name()
abstract boolean
run
(LogManager manager, org.apache.commons.cli.CommandLine cmd) abstract void
updateOptions
(org.apache.commons.cli.Options options)
-
Constructor Details
-
Command
public Command()
-
-
Method Details
-
name
-
updateOptions
public abstract void updateOptions(org.apache.commons.cli.Options options) -
run
public abstract boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException - Throws:
InterruptedException
-
getRecordRenderer
-
getRecordCodec
-