Class MediaProcessorConfig
- java.lang.Object
-
- com.priint.pubserver.mediaassetmanager.MediaProcessorConfig
-
- All Implemented Interfaces:
MergableConfig<MediaProcessorConfig>
public class MediaProcessorConfig extends java.lang.Object implements MergableConfig<MediaProcessorConfig>
Media Processor Config xml structure. It is placed in com.priint.mediaassetprocessing.CommandPlugin\WerkII\default\MediaProcessingConfig.xml
example of xml file
<cfg:MediaProcessorConfig xmlns:cfg="http://priint.com/pubserver.appserver.config/v1"> <cfg:convertPath>../../../../../../tools/ImageMagick/convert.exe</cfg:convertPath> </cfg:MediaProcessorConfig>
-
-
Constructor Summary
Constructors Constructor Description MediaProcessorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConvertPath()MediaProcessorConfigmergeWithCustom(MediaProcessorConfig customConfig)Merges this configuration with a second (custom) configuration.voidsetConvertPath(java.lang.String convertPath)
-
-
-
Method Detail
-
getConvertPath
public java.lang.String getConvertPath()
-
setConvertPath
public void setConvertPath(java.lang.String convertPath)
-
mergeWithCustom
public MediaProcessorConfig mergeWithCustom(MediaProcessorConfig customConfig)
Description copied from interface:MergableConfigMerges this configuration with a second (custom) configuration. If settings are defined in the second configuration they will override the settings of the current one.- Specified by:
mergeWithCustomin interfaceMergableConfig<MediaProcessorConfig>- Returns:
- merged configuration
-
-