Package com.bc.ceres.standalone
Class MetadataEngineMain
- java.lang.Object
- 
- com.bc.ceres.standalone.MetadataEngineMain
 
- 
 public class MetadataEngineMain extends Object A default executable class for the metadata engine. It implements common usage of the MatadataEngine API.usage: java -classpath path com.bc.ceres.standalone.MetadataEngineMain -t /path/targetItem.suff -v templateX=/path/metadata.vm.txt [-v templateY=/path/report.vm.xml] [optional options] [arg1] [arg2] ... -m <filePath> Optional. The absolute path and name of a text file to be included. E.g. global metadata. Refer to as $metadata in velocity templates. -S <source>=<filePath> Optional. The absolute path and name of the source items. Could be several given by key-value-pairs. In the velocity templates the key will give you the content of the associated metadata file. The reference $sourcePaths holds a list of the input item paths. -t <filePath> The absolute item path (e.g. a product), the metadata file will be places next to the item with the name 'itemName-templateName.templateSuffix. Refer to as $targetPath in velocity templates. -v <template>=<filePath> The absolute path of the velocity templates (*.vm). Could be several given by key-value-pairs. - Since:
- Ceres 0.13.2
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringKEY_ARGSstatic StringKEY_DATEstatic StringKEY_DATE_FORMATstatic StringKEY_METADATAstatic StringKEY_SOURCESstatic StringKEY_SYSTEMstatic StringKEY_TARGETstatic StringKEY_XPATH
 - 
Constructor SummaryConstructors Constructor Description MetadataEngineMain(MetadataResourceEngine metadataResourceEngine)
 
- 
- 
- 
Field Detail- 
KEY_METADATApublic static final String KEY_METADATA - See Also:
- Constant Field Values
 
 - 
KEY_SOURCESpublic static final String KEY_SOURCES - See Also:
- Constant Field Values
 
 - 
KEY_XPATHpublic static final String KEY_XPATH - See Also:
- Constant Field Values
 
 - 
KEY_TARGETpublic static final String KEY_TARGET - See Also:
- Constant Field Values
 
 - 
KEY_SYSTEMpublic static final String KEY_SYSTEM - See Also:
- Constant Field Values
 
 - 
KEY_ARGSpublic static final String KEY_ARGS - See Also:
- Constant Field Values
 
 - 
KEY_DATE_FORMATpublic static final String KEY_DATE_FORMAT - See Also:
- Constant Field Values
 
 - 
KEY_DATEpublic static final String KEY_DATE - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
MetadataEngineMainpublic MetadataEngineMain(MetadataResourceEngine metadataResourceEngine) 
 
- 
 - 
Method Detail- 
mainpublic static void main(String[] commandLineArgs) 
 
- 
 
-