Simple DSL object to allow the configuration for an RDM facade generation task to be captured. Using an object like this allows the consuming script to easily configure a facade generator. See GenerateRdmFacadesExtension for details.
| Type | Name and description |
|---|---|
boolean |
camelCaseSet true to convert the message type to camel case when generating the class name. |
java.lang.String |
classNamePrefixPrefix to apply to all generated class names. |
boolean |
failBuildOnErrorSet true to fail the build if any errors are encountered while generating the facade classes (like
illegal class or method names being generated from structure definitions). |
java.lang.String |
nameThe configuration name, must be unique among all configurations on a given project. |
org.gradle.api.file.FileCollection |
structureXmlsCollection of structure XML files to process. |
java.lang.String |
targetPackageThe package into which to generate the facade classes |
| Constructor and description |
|---|
RdmFacadeGeneratorDefinition
(java.lang.String name) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Set true to convert the message type to camel case when generating the class name. Otherwise,
use the message type "as is".
Prefix to apply to all generated class names. This can be useful when dealing with message types that don't start with a character that can legally start a java identifier (like digits).
Defaults to empty.
Set true to fail the build if any errors are encountered while generating the facade classes (like
illegal class or method names being generated from structure definitions). Set false to simply
emit error messages and delete the class file that was being generated.
Default is true
The configuration name, must be unique among all configurations on a given project.
Collection of structure XML files to process.
The package into which to generate the facade classes
Groovy Documentation