public abstract class PushPullCommand<O extends PushPullOptions> extends ConfigurableProjectCommand<O>
| Modifier and Type | Field and Description |
|---|---|
protected ISourceDocResource |
sourceDocResource |
protected ITranslatedDocResource |
translationResources |
protected URI |
uri |
PROJECT_TYPE_GETTEXT, PROJECT_TYPE_PROPERTIES, PROJECT_TYPE_PUBLICAN, PROJECT_TYPE_RAW, PROJECT_TYPE_UTF8_PROPERTIES, PROJECT_TYPE_XLIFF, PROJECT_TYPE_XML| Constructor and Description |
|---|
PushPullCommand(O opts) |
PushPullCommand(O opts,
ZanataProxyFactory factory,
ISourceDocResource sourceDocResource,
ITranslatedDocResource translationResources,
URI uri) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
belongsToCurrentModule(String qualifiedDocName) |
protected void |
confirmWithUser(String message) |
protected void |
debug(Object jaxbElement) |
protected static void |
expectYes(Console console) |
protected List<org.zanata.rest.dto.resource.ResourceMeta> |
getDocListForProjectIterationFromServer() |
protected List<String> |
getQualifiedDocNamesForCurrentModuleFromServer() |
protected String |
qualifiedDocName(String localDocName) |
protected String |
unqualifiedDocName(String qualifiedDocName) |
getProjectTypedeprecate, getDeprecationMessage, getName, getOpts, getRequestFactory, isDeprecatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprotected final ISourceDocResource sourceDocResource
protected final ITranslatedDocResource translationResources
protected URI uri
public PushPullCommand(O opts, ZanataProxyFactory factory, ISourceDocResource sourceDocResource, ITranslatedDocResource translationResources, URI uri)
public PushPullCommand(O opts)
protected void confirmWithUser(String message) throws IOException
IOExceptionprotected static void expectYes(Console console) throws IOException
IOExceptionprotected void debug(Object jaxbElement)
protected boolean belongsToCurrentModule(String qualifiedDocName)
protected List<String> getQualifiedDocNamesForCurrentModuleFromServer()
protected List<org.zanata.rest.dto.resource.ResourceMeta> getDocListForProjectIterationFromServer()
Copyright © 2012 Zanata Project. All Rights Reserved.