org.apache.geronimo.gshell.clp.handler
Class Handler<T>
java.lang.Object
org.apache.geronimo.gshell.clp.handler.Handler<T>
- Direct Known Subclasses:
- BooleanHandler, DoubleHandler, EnumHandler, FileHandler, IntegerHandler, ObjectHandler, StopHandler, StringHandler, UriHandler
public abstract class Handler<T>
- extends Object
Provides the basic mechanism to handle custom option and argument processing.
- Version:
- $Rev: 570606 $ $Date: 2007-08-28 19:17:11 -0700 (Tue, 28 Aug 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptor
public final Descriptor descriptor
setter
public final Setter<? super T> setter
Handler
protected Handler(Descriptor descriptor,
Setter<? super T> setter)
handle
public abstract int handle(Parameters params)
throws ProcessingException
- Throws:
ProcessingException
getDefaultMetaVariable
public abstract String getDefaultMetaVariable()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.