org.zanata.client.commands.pull
Class PullCommand
java.lang.Object
org.zanata.client.commands.ConfigurableCommand<O>
org.zanata.client.commands.ConfigurableProjectCommand<O>
org.zanata.client.commands.PushPullCommand<PullOptions>
org.zanata.client.commands.pull.PullCommand
- All Implemented Interfaces:
- ZanataCommand
public class PullCommand
- extends PushPullCommand<PullOptions>
- Author:
- Sean Flanigan sflaniga@redhat.com
|
Method Summary |
static void |
logOptions(org.slf4j.Logger logger,
PullOptions opts)
|
void |
run()
Executes the command, using the parameters which have been
previously set. |
| Methods inherited from class org.zanata.client.commands.PushPullCommand |
belongsToCurrentModule, confirmWithUser, debug, expectYes, getDocListForProjectIterationFromServer, getLocaleMapList, getQualifiedDocNamesForCurrentModuleFromServer, loadETagCache, qualifiedDocName, storeETagCache, unqualifiedDocName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PullCommand
public PullCommand(PullOptions opts)
PullCommand
public PullCommand(PullOptions opts,
ZanataProxyFactory factory,
ISourceDocResource sourceDocResource,
ITranslatedDocResource translationResources,
URI uri)
logOptions
public static void logOptions(org.slf4j.Logger logger,
PullOptions opts)
- Parameters:
logger - opts -
run
public void run()
throws Exception
- Description copied from interface:
ZanataCommand
- Executes the command, using the parameters which have been
previously set. This method must be called after initConfig().
- Throws:
Exception
Copyright © 2013 Zanata Project. All Rights Reserved.