org.apache.geronimo.gshell.clp
Class OptionDescriptor

java.lang.Object
  extended by org.apache.geronimo.gshell.clp.Descriptor
      extended by org.apache.geronimo.gshell.clp.OptionDescriptor

public class OptionDescriptor
extends Descriptor

Descriptor for Option annotations.

Version:
$Rev: 573330 $ $Date: 2007-09-06 11:20:42 -0700 (Thu, 06 Sep 2007) $

Constructor Summary
OptionDescriptor(Option option, boolean forceMultiValued)
           
 
Method Summary
 String[] aliases()
           
 boolean isArgumentRequired()
           
 String name()
           
 String toString()
           
 
Methods inherited from class org.apache.geronimo.gshell.clp.Descriptor
description, handler, isMultiValued, metaVar, required
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptionDescriptor

public OptionDescriptor(Option option,
                        boolean forceMultiValued)
Method Detail

name

public String name()

aliases

public String[] aliases()

isArgumentRequired

public boolean isArgumentRequired()

toString

public String toString()
Overrides:
toString in class Object


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