Home » jakarta-jmeter-2.3.4_src » org.apache.commons » cli » avalon » [javadoc | source]
org.apache.commons.cli.avalon
public final class: CLOption [javadoc | source]
java.lang.Object
   org.apache.commons.cli.avalon.CLOption
Basic class describing an instance of option.
Field Summary
public static final  int TEXT_ARGUMENT    Value of CLOptionDescriptor#getId when the option is a text argument. 
Constructor:
 public CLOption(CLOptionDescriptor descriptor) 
    Constructor taking an descriptor
    Parameters:
    descriptor - the descriptor iff null, will default to a "text argument" descriptor.
 public CLOption(String argument) 
    Constructor taking argument for option.
    Parameters:
    argument - the argument
Method from org.apache.commons.cli.avalon.CLOption Summary:
addArgument,   getArgument,   getArgument,   getArgumentCount,   getDescriptor,   toShortString,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.cli.avalon.CLOption Detail:
 public final  void addArgument(String argument) 
    Mutator of Argument property.
 public final String getArgument() 
    Retrieve argument to option if it takes arguments.
 public final String getArgument(int index) 
    Retrieve indexed argument to option if it takes arguments.
 public final int getArgumentCount() 
    Get number of arguments.
 public final CLOptionDescriptor getDescriptor() 
 final String toShortString() 
 public final String toString() 
    Convert to String.