- All Known Implementing Classes:
BookieShell
public interface Tool
A tool interface that supports handling of generic command-line options.
-
Method Summary
int
Exectue the command with given arguments.
void
setConf(org.apache.commons.configuration2.CompositeConfiguration conf)
Passe a configuration object to the tool.
-
Method Details
-
run
Exectue the command with given arguments.
- Parameters:
args - command specific arguments
- Returns:
- exit code.
- Throws:
Exception
-
setConf
void setConf(org.apache.commons.configuration2.CompositeConfiguration conf)
throws Exception
Passe a configuration object to the tool.
- Parameters:
conf - configuration object
- Throws:
Exception