Package com.atlan.generators
Class GeneratorConfig.GeneratorConfigBuilder
java.lang.Object
com.atlan.generators.GeneratorConfig.GeneratorConfigBuilder
- Enclosing class:
- GeneratorConfig
-
Method Summary
Modifier and TypeMethodDescriptionattributeToEnum
(String attributeToEnumKey, String attributeToEnumValue) attributeToEnums
(Map<? extends String, ? extends String> attributeToEnums) build()
doNotGenerateAsset
(String doNotGenerateAsset) doNotGenerateAssets
(Collection<? extends String> doNotGenerateAssets) forceNonAbstractAsset
(String forceNonAbstractAsset) forceNonAbstractAssets
(Collection<? extends String> forceNonAbstractAssets) freemarkerConfig
(freemarker.template.Configuration freemarkerConfig) generatorName
(String generatorName) packagePath
(String packagePath) packageRoot
(String packageRoot) preferTypeDefDescriptions
(boolean preferTypeDefDescriptions) renameAttribute
(String renameAttributeKey, String renameAttributeValue) renameAttributes
(Map<? extends String, ? extends String> renameAttributes) renameClass
(String renameClassKey, String renameClassValue) renameClasses
(Map<? extends String, ? extends String> renameClasses) renameEnumValue
(String renameEnumValueKey, String renameEnumValueValue) renameEnumValues
(Map<? extends String, ? extends String> renameEnumValues) retypeAttribute
(String retypeAttributeKey, Map<String, String> retypeAttributeValue) searchableRelationship
(String searchableRelationshipKey, String searchableRelationshipValue) searchableRelationships
(Map<? extends String, ? extends String> searchableRelationships) serviceType
(String serviceType) serviceTypes
(Collection<? extends String> serviceTypes) singularForAttribute
(String singularForAttributeKey, String singularForAttributeValue) singularForAttributes
(Map<? extends String, ? extends String> singularForAttributes) toString()
-
Method Details
-
freemarkerConfig
public GeneratorConfig.GeneratorConfigBuilder freemarkerConfig(freemarker.template.Configuration freemarkerConfig) - Returns:
this
.
-
packageRoot
- Returns:
this
.
-
packagePath
- Returns:
this
.
-
testPath
- Returns:
this
.
-
generatorName
- Returns:
this
.
-
preferTypeDefDescriptions
public GeneratorConfig.GeneratorConfigBuilder preferTypeDefDescriptions(boolean preferTypeDefDescriptions) - Returns:
this
.
-
serviceType
-
serviceTypes
public GeneratorConfig.GeneratorConfigBuilder serviceTypes(Collection<? extends String> serviceTypes) -
clearServiceTypes
-
renameClass
public GeneratorConfig.GeneratorConfigBuilder renameClass(String renameClassKey, String renameClassValue) -
renameClasses
public GeneratorConfig.GeneratorConfigBuilder renameClasses(Map<? extends String, ? extends String> renameClasses) -
clearRenameClasses
-
renameEnumValue
public GeneratorConfig.GeneratorConfigBuilder renameEnumValue(String renameEnumValueKey, String renameEnumValueValue) -
renameEnumValues
public GeneratorConfig.GeneratorConfigBuilder renameEnumValues(Map<? extends String, ? extends String> renameEnumValues) -
clearRenameEnumValues
-
doNotGenerateAsset
-
doNotGenerateAssets
public GeneratorConfig.GeneratorConfigBuilder doNotGenerateAssets(Collection<? extends String> doNotGenerateAssets) -
clearDoNotGenerateAssets
-
forceNonAbstractAsset
-
forceNonAbstractAssets
public GeneratorConfig.GeneratorConfigBuilder forceNonAbstractAssets(Collection<? extends String> forceNonAbstractAssets) -
clearForceNonAbstractAssets
-
singularForAttribute
public GeneratorConfig.GeneratorConfigBuilder singularForAttribute(String singularForAttributeKey, String singularForAttributeValue) -
singularForAttributes
public GeneratorConfig.GeneratorConfigBuilder singularForAttributes(Map<? extends String, ? extends String> singularForAttributes) -
clearSingularForAttributes
-
renameAttribute
public GeneratorConfig.GeneratorConfigBuilder renameAttribute(String renameAttributeKey, String renameAttributeValue) -
renameAttributes
public GeneratorConfig.GeneratorConfigBuilder renameAttributes(Map<? extends String, ? extends String> renameAttributes) -
clearRenameAttributes
-
attributeToEnum
public GeneratorConfig.GeneratorConfigBuilder attributeToEnum(String attributeToEnumKey, String attributeToEnumValue) -
attributeToEnums
public GeneratorConfig.GeneratorConfigBuilder attributeToEnums(Map<? extends String, ? extends String> attributeToEnums) -
clearAttributeToEnums
-
retypeAttribute
public GeneratorConfig.GeneratorConfigBuilder retypeAttribute(String retypeAttributeKey, Map<String, String> retypeAttributeValue) -
retypeAttributes
-
clearRetypeAttributes
-
searchableRelationship
public GeneratorConfig.GeneratorConfigBuilder searchableRelationship(String searchableRelationshipKey, String searchableRelationshipValue) -
searchableRelationships
public GeneratorConfig.GeneratorConfigBuilder searchableRelationships(Map<? extends String, ? extends String> searchableRelationships) -
clearSearchableRelationships
-
build
-
toString
-