|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zanata.client.commands.BasicOptionsImpl
public abstract class BasicOptionsImpl
Base class for commands
| Constructor Summary | |
|---|---|
BasicOptionsImpl()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zanata.client.commands.BasicOptions |
|---|
getCommandDescription, getCommandName, initCommand |
| Constructor Detail |
|---|
public BasicOptionsImpl()
| Method Detail |
|---|
public boolean getDebug()
BasicOptions
getDebug in interface BasicOptionspublic void setDebug(boolean debug)
setDebug in interface BasicOptionspublic boolean getErrors()
BasicOptions
getErrors in interface BasicOptionspublic void setErrors(boolean errors)
setErrors in interface BasicOptionspublic boolean getHelp()
BasicOptions
getHelp in interface BasicOptionspublic void setHelp(boolean help)
setHelp in interface BasicOptionspublic boolean getQuiet()
BasicOptions
getQuiet in interface BasicOptionspublic void setQuiet(boolean quiet)
setQuiet in interface BasicOptionspublic boolean isInteractiveMode()
isInteractiveMode in interface BasicOptionspublic void setInteractiveMode(boolean interactiveMode)
setInteractiveMode in interface BasicOptionspublic void setBatchMode(boolean batchMode)
public boolean isDebugSet()
isDebugSet in interface BasicOptionspublic boolean isErrorsSet()
isErrorsSet in interface BasicOptionspublic boolean isQuietSet()
isQuietSet in interface BasicOptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||