public static class Generator.Options
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
cleanup
Whether registered cleanup actions should be applied to the generated source code.
|
java.util.Map<?,?> |
codeFormatterOptions
Code formatter options to be used instead of the defaults for Java code formatting.
|
boolean |
codeFormatting
Whether Eclipse JDT code formatting should be applied to generated Java code.
|
boolean |
commentFormatting
Whether Eclipse JDT code formatting should be applied to comments.
|
java.lang.Object[] |
data
Arbitrary data for extensibility.
|
boolean |
dynamicTemplates
Whether to try to use dynamically compiled templates, in place of supplied static templates.
|
boolean |
forceOverwrite
Whether to overwrite read-only files.
|
boolean |
importOrganizing
Whether Eclipse JDT unused import checking should be used to remove unused imports from generated Java code.
|
java.lang.String |
mergerFacadeHelperClass
The name of the
facade helper class to be used in
Java merging. |
java.lang.String |
mergeRulesURI
The URI of the JMerge rules file.
|
java.lang.String |
redirectionPattern
A filename redirection pattern for generated files.
|
ResourceSet |
resourceSet
The resource set containing the input, from which a URI converter, package registry, resource factory registry,
etc can be obtained.
|
java.util.List<java.lang.String> |
templateClasspath
A list of strings of the form [<variable-name>=]<plugin-id>
that will be used by
AbstractGeneratorAdapter.addClasspathEntries(org.eclipse.emf.codegen.jet.JETEmitter)
to add classpath entries to each JETEmitter. |
java.lang.String[] |
templatePath
Deprecated.
org.eclipse.emf.codegen.ecore 2.2.2 Override
AbstractGeneratorAdapter.addBaseTemplatePathEntries(List) instead. |
Constructor and Description |
---|
Generator.Options() |
public java.lang.String redirectionPattern
public boolean forceOverwrite
public boolean dynamicTemplates
@Deprecated public java.lang.String[] templatePath
AbstractGeneratorAdapter.addBaseTemplatePathEntries(List)
instead.public java.lang.String mergerFacadeHelperClass
facade helper
class to be used in
Java merging.FacadeHelper
public java.lang.String mergeRulesURI
public boolean codeFormatting
public boolean commentFormatting
public boolean importOrganizing
public boolean cleanup
public java.util.Map<?,?> codeFormatterOptions
public ResourceSet resourceSet
public java.util.List<java.lang.String> templateClasspath
AbstractGeneratorAdapter.addClasspathEntries(org.eclipse.emf.codegen.jet.JETEmitter)
to add classpath entries to each JETEmitter.public java.lang.Object[] data