com.caucho.boot
Class AbstractBootOption

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

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


Constructor Summary
AbstractBootOption(java.lang.String name, java.lang.String description)
           
AbstractBootOption(java.lang.String name, java.lang.String description, boolean deprecated)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getUsage()
           
protected  java.lang.String getValueName()
           
 boolean isDeprecated()
           
 boolean isFlag()
           
 boolean isIntValue()
           
 boolean isValue()
           
 void setDeprecated(boolean deprecated)
           
 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)

AbstractBootOption

public AbstractBootOption(java.lang.String name,
                          java.lang.String description,
                          boolean deprecated)
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()

isDeprecated

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

setDeprecated

public void setDeprecated(boolean deprecated)

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