public class RawPushCommand extends PushPullCommand<PushOptions>
PushPullCommand.TranslatedPercent
eTagCache, PROJECT_TYPE_OFFLINE_PO, sourceDocResourceClient, statsClient, transDocResourceClient
PROJECT_TYPE_GETTEXT, PROJECT_TYPE_PROPERTIES, PROJECT_TYPE_PUBLICAN, PROJECT_TYPE_UTF8_PROPERTIES, PROJECT_TYPE_XLIFF, PROJECT_TYPE_XML
Modifier | Constructor and Description |
---|---|
|
RawPushCommand(PushOptions opts) |
|
RawPushCommand(PushOptions opts,
RestClientFactory clientFactory) |
protected |
RawPushCommand(PushOptions opts,
RestClientFactory clientFactory,
ConsoleInteractor console) |
Modifier and Type | Method and Description |
---|---|
List<String> |
extractExtensions(String typeWithExtension)
Extract extensions from input string
|
String |
extractType(String typeWithExtension)
Extract fileType from input string
input pattern: fileType[extension;extension], [extension;extension]
|
void |
run()
Runs the specific command, not including before- or after- actions.
|
belongsToCurrentModule, confirmWithUser, debug, getDetailStatisticsForProjectVersion, getDocListForProjectIterationFromServer, getDocsTranslatedPercent, getLocaleMapList, getQualifiedDocNamesForCurrentModuleFromServer, loadETagCache, needToGetStatistics, prepareStatsIfApplicable, qualifiedDocName, shouldPullThisLocale, storeETagCache, unqualifiedDocName
getProjectType
deprecate, expectYes, getClientFactory, getDeprecationMessage, getName, getOpts, isDeprecated, runWithActions, setClientFactory
public RawPushCommand(PushOptions opts)
public RawPushCommand(PushOptions opts, RestClientFactory clientFactory)
protected RawPushCommand(PushOptions opts, RestClientFactory clientFactory, ConsoleInteractor console)
public List<String> extractExtensions(String typeWithExtension)
@Nullable public String extractType(String typeWithExtension)
typeWithExtension
- public void run() throws IOException
ConfigurableCommand
run
in class ConfigurableCommand<PushOptions>
IOException
Copyright © 2015 Zanata Project. All rights reserved.