public class CommandLineWithLogger extends Object
Constructor and Description |
---|
CommandLineWithLogger() |
Modifier and Type | Method and Description |
---|---|
void |
addOption(org.apache.commons.cli.Option option) |
org.apache.commons.cli.CommandLine |
getCommandLine(String[] args) |
Properties |
getLoggerProps() |
org.apache.commons.cli.Options |
getOptions() |
String |
getVersion() |
boolean |
isDebug() |
boolean |
isTrace() |
void |
printHelp() |
void |
setLogConfig(String logConfig) |
void |
setVersion(String version) |
public void addOption(org.apache.commons.cli.Option option)
public String getVersion()
public void setVersion(String version)
public boolean isDebug()
public boolean isTrace()
public org.apache.commons.cli.Options getOptions()
public void setLogConfig(String logConfig)
public void printHelp()
public Properties getLoggerProps()
public org.apache.commons.cli.CommandLine getCommandLine(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
Copyright © 2016–2020 FBK. All rights reserved.