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 Summary
Fields Modifier and Type Field Description static String
KEY_ARGS
static String
KEY_DATE
static String
KEY_DATE_FORMAT
static String
KEY_METADATA
static String
KEY_SOURCES
static String
KEY_SYSTEM
static String
KEY_TARGET
static String
KEY_XPATH
-
Constructor Summary
Constructors Constructor Description MetadataEngineMain(MetadataResourceEngine metadataResourceEngine)
-
-
-
Field Detail
-
KEY_METADATA
public static final String KEY_METADATA
- See Also:
- Constant Field Values
-
KEY_SOURCES
public static final String KEY_SOURCES
- See Also:
- Constant Field Values
-
KEY_XPATH
public static final String KEY_XPATH
- See Also:
- Constant Field Values
-
KEY_TARGET
public static final String KEY_TARGET
- See Also:
- Constant Field Values
-
KEY_SYSTEM
public static final String KEY_SYSTEM
- See Also:
- Constant Field Values
-
KEY_ARGS
public static final String KEY_ARGS
- See Also:
- Constant Field Values
-
KEY_DATE_FORMAT
public static final String KEY_DATE_FORMAT
- See Also:
- Constant Field Values
-
KEY_DATE
public static final String KEY_DATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetadataEngineMain
public MetadataEngineMain(MetadataResourceEngine metadataResourceEngine)
-
-
Method Detail
-
main
public static void main(String[] commandLineArgs)
-
-