public abstract class AbstractBootOption extends java.lang.Object implements BootOption
Constructor and Description |
---|
AbstractBootOption(java.lang.String name,
java.lang.String description) |
AbstractBootOption(java.lang.String name,
java.lang.String description,
boolean deprecated) |
Modifier and Type | Method and Description |
---|---|
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() |
public AbstractBootOption(java.lang.String name, java.lang.String description)
public AbstractBootOption(java.lang.String name, java.lang.String description, boolean deprecated)
public java.lang.String getName()
getName
in interface BootOption
public java.lang.String getDescription()
getDescription
in interface BootOption
protected java.lang.String getValueName()
public boolean isDeprecated()
isDeprecated
in interface BootOption
public void setDeprecated(boolean deprecated)
public java.lang.String getUsage()
getUsage
in interface BootOption
public boolean isFlag()
isFlag
in interface BootOption
public boolean isValue()
isValue
in interface BootOption
public boolean isIntValue()
isIntValue
in interface BootOption
public java.lang.String toString()
toString
in class java.lang.Object