public class Target extends Object implements Serializable, XMLAppendable
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
clean |
protected String |
directory |
protected String |
encoding |
protected String |
locale |
protected String |
packageName |
| Constructor and Description |
|---|
Target() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(XMLBuilder builder) |
boolean |
equals(Object that) |
String |
getDirectory()
The destination directory of your generated classes
|
String |
getEncoding()
The file encoding to be used with all output files.
|
String |
getLocale()
The locale to be used with all locale specific operations.
|
String |
getPackageName()
The destination package of your generated classes (within the destination directory)
jOOQ may append the schema name to this package if generating multiple schemas,
e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
|
int |
hashCode() |
Boolean |
isClean()
Whether the target package should be cleaned to contain only generated code after a generation run.
|
void |
setClean(Boolean value)
Sets the value of the clean property.
|
void |
setDirectory(String value)
The destination directory of your generated classes
|
void |
setEncoding(String value)
The file encoding to be used with all output files.
|
void |
setLocale(String value)
The locale to be used with all locale specific operations.
|
void |
setPackageName(String value)
The destination package of your generated classes (within the destination directory)
jOOQ may append the schema name to this package if generating multiple schemas,
e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
|
String |
toString() |
Target |
withClean(Boolean value) |
Target |
withDirectory(String value)
The destination directory of your generated classes
|
Target |
withEncoding(String value)
The file encoding to be used with all output files.
|
Target |
withLocale(String value)
The locale to be used with all locale specific operations.
|
Target |
withPackageName(String value)
The destination package of your generated classes (within the destination directory)
jOOQ may append the schema name to this package if generating multiple schemas,
e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
|
protected String packageName
protected String directory
protected String encoding
protected String locale
protected Boolean clean
public String getPackageName()
jOOQ may append the schema name to this package if generating multiple schemas, e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
public void setPackageName(String value)
jOOQ may append the schema name to this package if generating multiple schemas, e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
public String getDirectory()
public void setDirectory(String value)
public String getEncoding()
public void setEncoding(String value)
public String getLocale()
public void setLocale(String value)
public Boolean isClean()
Booleanpublic void setClean(Boolean value)
value - allowed object is
Booleanpublic Target withPackageName(String value)
jOOQ may append the schema name to this package if generating multiple schemas, e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
public Target withDirectory(String value)
public Target withEncoding(String value)
public Target withLocale(String value)
public final void appendTo(XMLBuilder builder)
appendTo in interface XMLAppendableCopyright © 2021. All rights reserved.