org.apache.geronimo.gshell.clp
Class CommandLineProcessor
java.lang.Object
org.apache.geronimo.gshell.clp.CommandLineProcessor
public class CommandLineProcessor
- extends Object
Processes an object for command-line configuration annotations.
- Version:
- $Rev: 572602 $ $Date: 2007-09-04 03:12:04 -0700 (Tue, 04 Sep 2007) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineProcessor
public CommandLineProcessor(Object bean)
throws IllegalAnnotationError
- Throws:
IllegalAnnotationError
getBean
public Object getBean()
getOptionHandlers
public List<Handler> getOptionHandlers()
getArgumentHandlers
public List<Handler> getArgumentHandlers()
getStopAtNonOption
public boolean getStopAtNonOption()
setStopAtNonOption
public void setStopAtNonOption(boolean flag)
process
public void process(String... args)
throws ProcessingException
- Throws:
ProcessingException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.