com.caucho.boot
Class AbstractBootOption
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractBootOption
public AbstractBootOption(java.lang.String name,
java.lang.String description)
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