public abstract class ConfigurableCommand<O extends ConfigurableOptions> extends Object implements ZanataCommand
| Constructor and Description |
|---|
ConfigurableCommand(O opts) |
ConfigurableCommand(O opts,
ZanataProxyFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
deprecate(String deprecationMessage) |
String |
getDeprecationMessage()
If the command has been deprecated, returns a message (eg a command which
replaces the deprecated command).
|
String |
getName()
Returns the command name (eg Maven goal name)
|
O |
getOpts() |
ZanataProxyFactory |
getRequestFactory() |
boolean |
isDeprecated()
Returns true if the command has been deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunpublic ConfigurableCommand(O opts, ZanataProxyFactory factory)
public ConfigurableCommand(O opts)
public O getOpts()
public ZanataProxyFactory getRequestFactory()
public boolean isDeprecated()
ZanataCommandisDeprecated in interface ZanataCommandpublic String getDeprecationMessage()
ZanataCommandgetDeprecationMessage in interface ZanataCommandpublic void deprecate(String deprecationMessage)
public String getName()
ZanataCommandgetName in interface ZanataCommandCopyright © 2013 Zanata Project. All Rights Reserved.