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