public class RunPipeline
extends de.infinityloop.upcast.core.AppFacelessLayer
Modifier and Type | Field and Description |
---|---|
static int |
kExceptionThrown |
static int |
kIllegalArgumentValue |
static java.lang.String |
kKwdCatalog |
static java.lang.String |
kKwdDebug |
static java.lang.String |
kKwdHelp |
static java.lang.String |
kKwdLicense |
static java.lang.String |
kKwdParam |
static java.lang.String |
kKwdUseSavedValues |
static java.lang.String |
kKwdVersion |
static int |
kMissingArgument |
static int |
kNoError |
static int |
kWrongArgumentType |
appEvalLicense, applicationInstallationDir, applicationInstanceSingleton, applicationUPLVariableStore, appLicense, globalEntityResolver, kAppPrefPathPrefix, kCatalogDefaults, kEncodingDefaults, kFeatureCore, kFeatureDowncastAPI, kFeatureDowncastCommandline, kFeatureDowncastGUI, kFeatureUpcastAPI, kFeatureUpcastCommandline, kFeatureUpcastGUI, kFeatureUPLAPI, kFeatureUPLCommandline, kFeatureUPLGUI, kPATHAppHelpFile, kPATHAppHelpFull, kPATHAppHelpPath, kPATHAppJARConfigPath, kPATHAppJARRegistryPath, kPATHAppJARResourcesPath, kPATHAppLicensesPath, kPATHAppLogfileFull, kPATHAppPreferencesFull, kPATHAppSupportDirPath, kPATHJARResourcesPath, kPATHJavadocHelpFile, kPATHJavadocHelpFull, kPATHJavadocHelpPath, kPATHUPLHelpFile, kPATHUPLHelpFull, kPATHUPLHelpPath, kPipelineTemplatePathDefaults, kStartupLogFlag_CloseAfter, kStartupLogFlag_NewFile, kStartupLogFlag_SeparatorBefore, kStartupLogFlag_SystemInfo, outputstreamFactory, searchDirectories, statisticsStartDate
gApplicationPreferences, gApplicationPreferencesFormatConverters, gAppLogAggregator, gLicenseFileFormatConverters, gLogEventFilter, gPipelineDocumentFormatConverters, gSystemLoggingBridge, kCatalogFileLocationKey, kConfigurationFileAntLocationKey, kConfigurationFileBCFLocationKey, kConfigurationFileDocumentationLocationKey, kConfigurationFileJavaLocationKey, kConfigurationFileLocationKey, kCustomEncodingsLocationKey, kDestFileRTFLocationKey, kDestFileStderrLocationKey, kDestFileStdoutLocationKey, kDestFileXMLLocationKey, kDestFolderLocationKey, kLicenseFileLocationKey, kParameterSetFileLocationKey, kPipelineLocationKey, kPipelineTemplatesLocationKey, kSimpleViewLocationKey, kSourceFileBCFLocationKey, kSourceFileCSSLocationKey, kSourceFileRTFLocationKey, kSourceFileXMLLocationKey, kStandardLocationKey, kTempFolderLocationKey, kTextExportLocationKey, kUnicodeMappingFilesLocationKey, kWindowsSystemLocationKey, kXSLFilesLocationKey, logger
Constructor and Description |
---|
RunPipeline(DiskFile doc,
java.lang.String[] args,
LogListener parLog)
Creator
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getHelpText(de.infinityloop.upcast.Pipeline c)
Generates a help text for calling that particular pipeline.
|
static void |
main(java.lang.String[] argv)
The starting point.
|
java.lang.Object |
runPipeline()
Actually run the pipeline, after we have made sure that all required parameters have been passed and are
within the required value range.
|
void |
setPipelineParameter(java.lang.String key,
java.lang.Object value)
Set a pipeline parameter value.
|
void |
updatePipelineParameters()
Sets the parameter values passed to the pipeline from the commandline into the pipeline variable pool.
|
accessesOldXerces, addCatalog, addSearchDirectory, calcPreferencePath, collectSystemValues, createLogWriter, discardCatalogs, discardCatalogs, discardLogWriter, discardLogWriters, existsPreference, existsUPLVariable, getApplicationClipboard, getApplicationInstallationDir, getApplicationLicense, getApplicationName, getApplicationNameFull, getCharacterCounter, getConversionCounter, getGlobalEntityResolver, getHumanReadableLoggingContextRepresentation, getOfficeConnectionType, getPath, getPath, getPipelineObject, getPipelineObjects, getPipelineObjectUids, getPreferenceAsArray, getPreferenceAsBoolean, getPreferenceAsDouble, getPreferenceAsInt, getPreferenceAsList, getPreferenceAsLong, getPreferenceAsObject, getPreferenceAsRectangle, getPreferenceAsString, getRegisteredCatalogSearchPaths, getStartDate, getUniqueId, getUniqueIdString, getUPLVariableAssociatedType, getUPLVariableModifierFinal, getUPLVariableValue, getWindowsBridge, incrementCharacterCounter, incrementConversionCounter, initialize, initializeCatalogs, logStartup, reestablishOfficeGateway, registerPipelineObject, removePreference, saveConfigurationAsAnttask, saveConfigurationAsJava, saveConfigurationAsXHTMLDocumentation, searchSupportFile, setApplicationLicense, setCharacterCounter, setConversionCounter, setOfficeInterface, setPreference, setStartDate, setUPLVariableValue, unregisterPipelineObject, updateXMLCatalogInfoFromPreferences, writeRegistryWIN
createBCFFragmentFromModule, createBCFFromConfiguration, getApplicationName, getBuild, getBuildID, getBuildTimestamp, getCurrentVersionFileURL, getExternalLogger, getLogger, getPreferences, getVersion, isBeta, quoteForBCF, registerMemoryFullListener, saveConfigurationAsBCF, unregisterMemoryFullListener, updateExternalLoggerFilter
public static final int kNoError
public static final int kExceptionThrown
public static final int kMissingArgument
public static final int kWrongArgumentType
public static final int kIllegalArgumentValue
public static final java.lang.String kKwdDebug
public static final java.lang.String kKwdUseSavedValues
public static final java.lang.String kKwdParam
public static final java.lang.String kKwdHelp
public static final java.lang.String kKwdVersion
public static final java.lang.String kKwdLicense
public static final java.lang.String kKwdCatalog
public RunPipeline(DiskFile doc, java.lang.String[] args, LogListener parLog) throws java.lang.Exception
java.lang.Exception
public java.lang.Object runPipeline() throws UpcastException
UpcastException
public static java.lang.String getHelpText(de.infinityloop.upcast.Pipeline c)
c
- the pipeline to produce the help text for (may be null, in which case we produce a synopsis help text)public void setPipelineParameter(java.lang.String key, java.lang.Object value)
key
- value
- public void updatePipelineParameters() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] argv)
argv
- the parameters used in the call