org.apache.geronimo.gshell.clp
Class Descriptor

java.lang.Object
  extended by org.apache.geronimo.gshell.clp.Descriptor
Direct Known Subclasses:
ArgumentDescriptor, OptionDescriptor

public abstract class Descriptor
extends Object

Basic container for option and argument descriptors.

Version:
$Rev: 570613 $ $Date: 2007-08-28 19:39:43 -0700 (Tue, 28 Aug 2007) $

Constructor Summary
protected Descriptor(String description, String metaVar, boolean required, Class<? extends Handler> handler, boolean multiValued)
           
 
Method Summary
 String description()
           
 Class<? extends Handler> handler()
           
 boolean isMultiValued()
           
 String metaVar()
           
 boolean required()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Descriptor

protected Descriptor(String description,
                     String metaVar,
                     boolean required,
                     Class<? extends Handler> handler,
                     boolean multiValued)
Method Detail

description

public String description()

metaVar

public String metaVar()

required

public boolean required()

handler

public Class<? extends Handler> handler()

isMultiValued

public boolean isMultiValued()


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