org.zanata.client.commands.push
Class RawPushCommand

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<PushOptions>
              extended by org.zanata.client.commands.push.RawPushCommand
All Implemented Interfaces:
ZanataCommand

public class RawPushCommand
extends PushPullCommand<PushOptions>

Command to send files directly to the server without parsing on the client.

Author:
David Mason, damason@redhat.com

Field Summary
protected  IFileResource fileResource
           
 
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
RawPushCommand(PushOptions opts)
           
RawPushCommand(PushOptions opts, ZanataProxyFactory factory, ISourceDocResource sourceDocResource, ITranslatedDocResource translationResources, URI uri)
           
 
Method Summary
 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
 

Field Detail

fileResource

protected final IFileResource fileResource
Constructor Detail

RawPushCommand

public RawPushCommand(PushOptions opts)

RawPushCommand

public RawPushCommand(PushOptions opts,
                      ZanataProxyFactory factory,
                      ISourceDocResource sourceDocResource,
                      ITranslatedDocResource translationResources,
                      URI uri)
Method Detail

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.