com.caucho.boot
Class AbstractBootOption

java.lang.Object
  extended by com.caucho.boot.AbstractBootOption
All Implemented Interfaces:
BootOption
Direct Known Subclasses:
FlagBootOption, ValueBootOption

public abstract class AbstractBootOption
extends java.lang.Object
implements BootOption


Constructor Summary
AbstractBootOption(java.lang.String name, java.lang.String description)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getUsage()
           
protected  java.lang.String getValueName()
           
 boolean isFlag()
           
 boolean isIntValue()
           
 boolean isValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractBootOption

public AbstractBootOption(java.lang.String name,
                          java.lang.String description)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface BootOption

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface BootOption

getValueName

protected java.lang.String getValueName()

getUsage

public java.lang.String getUsage()
Specified by:
getUsage in interface BootOption

isFlag

public boolean isFlag()
Specified by:
isFlag in interface BootOption

isValue

public boolean isValue()
Specified by:
isValue in interface BootOption

isIntValue

public boolean isIntValue()
Specified by:
isIntValue in interface BootOption

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object