Configures a specific schema convertion.
| Type | Name and description |
|---|---|
java.lang.String |
nameThe task names |
java.lang.String |
packageNameThe package name for all the generated java sources. |
java.nio.file.Path |
schemaDirPathThe base directory where the xsd schemas are located. |
| Constructor and description |
|---|
Xsd2JavaTaskConfig
(java.lang.String name)Init a new task. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
packageName(java.lang.String packageName)@param packageName The designated package name for the generated schema. |
|
void |
schemaDirPath(java.lang.String schemaDirPath)@param schemaDirPath the schema dir |
|
void |
schemaDirPath(java.io.File schemaDirPath)@param schemaDirPath the schema dir |
|
void |
schemaDirPath(java.nio.file.Path schemaDirPath)@param schemaDirPath the schema dir |
| 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() |
The task names
The package name for all the generated java sources.
The base directory where the xsd schemas are located.
Init a new task.
name - the name
packageName - The designated package name for the generated schema.
schemaDirPath - the schema dir
schemaDirPath - the schema dir
schemaDirPath - the schema dirGroovy Documentation