ObjectDescription configuration = new ObjectDescription(
SourcePreprocessor.class.getSimpleName() + " configuration",
"Configuration of the transform method of the "
+ SourcePreprocessor.class.getSimpleName());
ValueDescription value = new ValueDescription(Map.class
/*
* Map.class has changed to commandline
*/);
configuration.setValueDescription(value);
value.addSubdescription(new ObjectDescription(
IoBoostUtils.PARAMETERNAME_ENCODING,
"Encoding of generated files", String.class, true));
value.addSubdescription(new ObjectDescription(PARAMETERNAME_SRC_ROOT,
"The root directory of the files to process", File.class, true));
value.addSubdescription(new ObjectDescription(
PARAMETERNAME_GENERATED_JAVA_ROOT,
"The root directory of the generated java files", File.class,
true));
value.addSubdescription(new ObjectDescription(
PARAMETERNAME_GENERATED_RESOURCES_ROOT,
"The root directory of generated resource files", File.class,
true));
setConfiguration(configuration);