org.apache.geronimo.gshell.clp.handler
Class StopHandler

java.lang.Object
  extended by org.apache.geronimo.gshell.clp.handler.Handler<String>
      extended by org.apache.geronimo.gshell.clp.handler.StopHandler

public class StopHandler
extends Handler<String>

Handler to abort further option processing (and soak up remaining tokens as arguments).

Version:
$Rev: 570606 $ $Date: 2007-08-28 19:17:11 -0700 (Tue, 28 Aug 2007) $

Field Summary
 
Fields inherited from class org.apache.geronimo.gshell.clp.handler.Handler
descriptor, setter
 
Constructor Summary
StopHandler(Descriptor desc, Setter<? super String> setter)
           
 
Method Summary
 String getDefaultMetaVariable()
           
 int handle(Parameters params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopHandler

public StopHandler(Descriptor desc,
                   Setter<? super String> setter)
Method Detail

handle

public int handle(Parameters params)
           throws ProcessingException
Specified by:
handle in class Handler<String>
Throws:
ProcessingException

getDefaultMetaVariable

public String getDefaultMetaVariable()
Specified by:
getDefaultMetaVariable in class Handler<String>


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.