public abstract class BasicOptionsImpl extends Object implements BasicOptions
Constructor and Description |
---|
BasicOptionsImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getDebug()
Whether to enable debug mode.
|
boolean |
getErrors()
Whether to display full information about errors (ie exception stack
traces).
|
boolean |
getHelp()
Whether to display the command's usage help.
|
boolean |
getQuiet()
Enable quiet mode - error messages only
|
boolean |
isDebugSet() |
boolean |
isErrorsSet() |
boolean |
isInteractiveMode() |
boolean |
isQuietSet() |
void |
setBatchMode(boolean batchMode) |
void |
setDebug(boolean debug) |
void |
setErrors(boolean errors) |
void |
setHelp(boolean help) |
void |
setInteractiveMode(boolean interactiveMode) |
void |
setQuiet(boolean quiet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandDescription, getCommandName, initCommand
public boolean getDebug()
BasicOptions
getDebug
in interface BasicOptions
public void setDebug(boolean debug)
setDebug
in interface BasicOptions
public boolean getErrors()
BasicOptions
getErrors
in interface BasicOptions
public void setErrors(boolean errors)
setErrors
in interface BasicOptions
public boolean getHelp()
BasicOptions
getHelp
in interface BasicOptions
public void setHelp(boolean help)
setHelp
in interface BasicOptions
public boolean getQuiet()
BasicOptions
getQuiet
in interface BasicOptions
public void setQuiet(boolean quiet)
setQuiet
in interface BasicOptions
public boolean isInteractiveMode()
isInteractiveMode
in interface BasicOptions
public void setInteractiveMode(boolean interactiveMode)
setInteractiveMode
in interface BasicOptions
public void setBatchMode(boolean batchMode)
public boolean isDebugSet()
isDebugSet
in interface BasicOptions
public boolean isErrorsSet()
isErrorsSet
in interface BasicOptions
public boolean isQuietSet()
isQuietSet
in interface BasicOptions
Copyright © 2014 Zanata Project. All rights reserved.