org.sonatype.gshell.util.cli2.handler
Class BooleanHandler

java.lang.Object
  extended by org.sonatype.gshell.util.cli2.handler.Handler
      extended by org.sonatype.gshell.util.cli2.handler.BooleanHandler

public class BooleanHandler
extends Handler

Handler for boolean types.

Since:
2.3
Author:
Jason Dillon

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sonatype.gshell.util.cli2.handler.Handler
Handler.Input
 
Constructor Summary
BooleanHandler(CliDescriptor desc)
           
 
Method Summary
 String getDefaultToken()
           
 void handle(String arg)
           
 
Methods inherited from class org.sonatype.gshell.util.cli2.handler.Handler
getDescriptor, getSetter, set, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanHandler

public BooleanHandler(CliDescriptor desc)
Method Detail

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.