Package tv.hd3g.fflauncher
Class FFbase
- java.lang.Object
-
- tv.hd3g.fflauncher.ConversionTool
-
- tv.hd3g.fflauncher.FFbase
-
- All Implemented Interfaces:
tv.hd3g.processlauncher.tool.ExecutableTool
public class FFbase extends ConversionTool
-
-
Field Summary
-
Fields inherited from class tv.hd3g.fflauncher.ConversionTool
execName, input_sources, output_expected_destinations, parameters
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FFbaseaddSimpleInputSource(File file, String... source_options)Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources.FFbaseaddSimpleInputSource(File file, List<String> source_options)Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources.FFbaseaddSimpleInputSource(String source_name, String... source_options)Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources.FFbaseaddSimpleInputSource(String source_name, List<String> source_options)Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources.voidbeforeRun(tv.hd3g.processlauncher.ProcesslauncherBuilder processBuilder)Predicate<String>filterOutErrorLines()FFAboutgetAbout(tv.hd3g.processlauncher.cmdline.ExecutableFinder executableFinder)protected PrintStreamgetStdErrPrintStreamToDisplayLinesEvents()booleanisHidebanner()booleanisLogLevelSet()booleanisNeverOverwriteOutputFiles()booleanisOverwriteOutputFiles()FFbasesetHidebanner()FFbasesetLogLevel(FFLogLevel level, boolean repeat, boolean display_level)Add like -loglevel repeat+level+verboseFFbasesetNeverOverwriteOutputFiles()FFbasesetOverwriteOutputFiles()-
Methods inherited from class tv.hd3g.fflauncher.ConversionTool
addInputSource, addInputSource, addInputSource, addInputSource, addOutputDestination, addOutputDestination, addOutputDestination, addOutputDestination, addSimpleOutputDestination, addSimpleOutputDestination, checkDestinations, checkSources, cleanUpOutputFiles, getDeclaredDestinationByVarName, getDeclaredDestinations, getDeclaredSourceByVarName, getDeclaredSources, getExecutableName, getFilterForLinesEventsToDisplay, getInternalParameters, getMaxExecTime, getMaxExecTimeScheduler, getOutputFiles, getParametersVariables, getReadyToRunParameters, getStdOutPrintStreamToDisplayLinesEvents, getWorkingDirectory, isCheckSourcesBeforeReady, isOnErrorDeleteOutFiles, isRemoveParamsIfNoVarToInject, onMissingInputOutputVar, setCheckSourcesBeforeReady, setFilterForLinesEventsToDisplay, setMaxExecTimeScheduler, setMaxExecutionTimeForShortCommands, setOnErrorDeleteOutFiles, setRemoveParamsIfNoVarToInject, setWorkingDirectory
-
-
-
-
Constructor Detail
-
FFbase
public FFbase(String execName, tv.hd3g.processlauncher.cmdline.Parameters parameters)
-
-
Method Detail
-
beforeRun
public void beforeRun(tv.hd3g.processlauncher.ProcesslauncherBuilder processBuilder)
- Specified by:
beforeRunin interfacetv.hd3g.processlauncher.tool.ExecutableTool- Overrides:
beforeRunin classConversionTool
-
getStdErrPrintStreamToDisplayLinesEvents
protected PrintStream getStdErrPrintStreamToDisplayLinesEvents()
- Overrides:
getStdErrPrintStreamToDisplayLinesEventsin classConversionTool
-
setLogLevel
public FFbase setLogLevel(FFLogLevel level, boolean repeat, boolean display_level)
Add like -loglevel repeat+level+verbose
-
isLogLevelSet
public boolean isLogLevelSet()
-
setHidebanner
public FFbase setHidebanner()
-
isHidebanner
public boolean isHidebanner()
-
setOverwriteOutputFiles
public FFbase setOverwriteOutputFiles()
-
isOverwriteOutputFiles
public boolean isOverwriteOutputFiles()
-
setNeverOverwriteOutputFiles
public FFbase setNeverOverwriteOutputFiles()
-
isNeverOverwriteOutputFiles
public boolean isNeverOverwriteOutputFiles()
-
addSimpleInputSource
public FFbase addSimpleInputSource(String source_name, String... source_options)
Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter
-
addSimpleInputSource
public FFbase addSimpleInputSource(File file, String... source_options)
Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter
-
addSimpleInputSource
public FFbase addSimpleInputSource(String source_name, List<String> source_options)
Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter
-
addSimpleInputSource
public FFbase addSimpleInputSource(File file, List<String> source_options)
Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter
-
getAbout
public FFAbout getAbout(tv.hd3g.processlauncher.cmdline.ExecutableFinder executableFinder)
-
-