public class PullCommand extends PushPullCommand<PullOptions>
eTagCache, PROJECT_TYPE_OFFLINE_PO, sourceDocResource, translationResources, uri
PROJECT_TYPE_GETTEXT, PROJECT_TYPE_PROPERTIES, PROJECT_TYPE_PUBLICAN, PROJECT_TYPE_UTF8_PROPERTIES, PROJECT_TYPE_XLIFF, PROJECT_TYPE_XML
Constructor and Description |
---|
PullCommand(PullOptions opts) |
PullCommand(PullOptions opts,
ZanataProxyFactory factory,
org.zanata.rest.client.ISourceDocResource sourceDocResource,
org.zanata.rest.client.ITranslatedDocResource translationResources,
URI uri) |
Modifier and Type | Method and Description |
---|---|
PullStrategy |
createStrategy(PullOptions opts) |
static void |
logOptions(org.slf4j.Logger logger,
PullOptions opts) |
void |
run()
Runs the specific command, not including before- or after- actions.
|
belongsToCurrentModule, confirmWithUser, debug, getDocListForProjectIterationFromServer, getLocaleMapList, getQualifiedDocNamesForCurrentModuleFromServer, loadETagCache, qualifiedDocName, storeETagCache, unqualifiedDocName
getProjectType
deprecate, expectYes, getDeprecationMessage, getName, getOpts, getRequestFactory, isDeprecated, runWithActions
public PullCommand(PullOptions opts)
public PullCommand(PullOptions opts, ZanataProxyFactory factory, org.zanata.rest.client.ISourceDocResource sourceDocResource, org.zanata.rest.client.ITranslatedDocResource translationResources, URI uri)
public PullStrategy createStrategy(PullOptions opts) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
public static void logOptions(org.slf4j.Logger logger, PullOptions opts)
logger
- opts
- public void run() throws Exception
ConfigurableCommand
run
in class ConfigurableCommand<PullOptions>
Exception
Copyright © 2015 Zanata Project. All rights reserved.