org.zanata.client.commands.pull
Class PullCommand

java.lang.Object
  extended by org.zanata.client.commands.ConfigurableCommand<O>
      extended by org.zanata.client.commands.ConfigurableProjectCommand<O>
          extended by org.zanata.client.commands.PushPullCommand<PullOptions>
              extended by org.zanata.client.commands.pull.PullCommand
All Implemented Interfaces:
ZanataCommand

public class PullCommand
extends PushPullCommand<PullOptions>

Author:
Sean Flanigan sflaniga@redhat.com

Field Summary
 
Fields inherited from class org.zanata.client.commands.PushPullCommand
eTagCache, PROJECT_TYPE_OFFLINE_PO, sourceDocResource, translationResources, uri
 
Fields inherited from class org.zanata.client.commands.ConfigurableProjectCommand
PROJECT_TYPE_FILE, PROJECT_TYPE_GETTEXT, PROJECT_TYPE_PROPERTIES, PROJECT_TYPE_PUBLICAN, PROJECT_TYPE_UTF8_PROPERTIES, PROJECT_TYPE_XLIFF, PROJECT_TYPE_XML
 
Constructor Summary
PullCommand(PullOptions opts)
           
PullCommand(PullOptions opts, ZanataProxyFactory factory, ISourceDocResource sourceDocResource, ITranslatedDocResource translationResources, URI uri)
           
 
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 org.zanata.client.commands.ConfigurableProjectCommand
getProjectType
 
Methods inherited from class org.zanata.client.commands.ConfigurableCommand
deprecate, getDeprecationMessage, getName, getOpts, getRequestFactory, isDeprecated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PullCommand

public PullCommand(PullOptions opts)

PullCommand

public PullCommand(PullOptions opts,
                   ZanataProxyFactory factory,
                   ISourceDocResource sourceDocResource,
                   ITranslatedDocResource translationResources,
                   URI uri)
Method Detail

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.