Package org.codelibs.fess.thumbnail.impl
Class CommandGenerator
java.lang.Object
org.codelibs.fess.thumbnail.impl.BaseThumbnailGenerator
org.codelibs.fess.thumbnail.impl.CommandGenerator
- All Implemented Interfaces:
ThumbnailGenerator
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.codelibs.fess.thumbnail.impl.BaseThumbnailGenerator
available, conditionMap, directoryNameLength, filePathMap, generatorList, maxRedirectCount, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected voidexecuteCommand(String thumbnailId, List<String> cmdList) booleanvoidinit()voidsetBaseDir(File baseDir) voidsetCommandDestroyTimeout(long commandDestroyTimeout) voidsetCommandList(List<String> commandList) voidsetCommandTimeout(long commandTimeout) Methods inherited from class org.codelibs.fess.thumbnail.impl.BaseThumbnailGenerator
addCondition, createTask, expandPath, getName, isAvailable, isTarget, process, process, register, setDirectoryNameLength, setGeneratorList, setMaxRedirectCount, setName, updateThumbnailField
-
Field Details
-
commandList
-
commandTimeout
protected long commandTimeout -
commandDestroyTimeout
protected long commandDestroyTimeout -
baseDir
-
-
Constructor Details
-
CommandGenerator
public CommandGenerator()
-
-
Method Details
-
init
@PostConstruct public void init() -
destroy
public void destroy() -
generate
-
executeCommand
-
setCommandList
-
setCommandTimeout
public void setCommandTimeout(long commandTimeout) -
setBaseDir
-
setCommandDestroyTimeout
public void setCommandDestroyTimeout(long commandDestroyTimeout)
-