org.sonatype.gshell.util.cli2.handler
Class DefaultHandler
java.lang.Object
org.sonatype.gshell.util.cli2.handler.Handler
org.sonatype.gshell.util.cli2.handler.DefaultHandler
- Direct Known Subclasses:
- EnumHandler
public class DefaultHandler
- extends Handler
Handler which uses a Converter to coerce types.
- Since:
- 2.3
- Author:
- Jason Dillon
| Nested classes/interfaces inherited from class org.sonatype.gshell.util.cli2.handler.Handler |
Handler.Input |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHandler
public DefaultHandler(CliDescriptor desc)
handle
public void handle(String arg)
throws Exception
- Specified by:
handle in class Handler
- Throws:
Exception
getDefaultToken
public String getDefaultToken()
- Specified by:
getDefaultToken in class Handler
Copyright © 2008-2011 Sonatype. All Rights Reserved.