jcmdline
Interface OptionTakesNoValue

All Known Implementing Classes:
BooleanParam

public interface OptionTakesNoValue

An interface indicating an option Paramter that requires no value on the command line (as for the BooleanParam).

When Parmeters implementing this interface are be used as command line options, they may be specified in two ways:

    -optTag
  or
    -optTag=value
 
If the first style is used, the option Parameter is passed the return value of getDefaultValue() as its value.

Specification of an option Paramter as:

    -optTag value
 
is not valid, and will cause parse errors.

Version:
jcmdline Rel. 2.0.0 $Id: OptionTakesNoValue.java,v 1.2 2002/12/07 14:22:06 lglawrence Exp $
Author:
Lynne Lawrence

Method Summary
 java.lang.String getDefaultValue()
           
 

Method Detail

getDefaultValue

java.lang.String getDefaultValue()