All Downloads are FREE. Search and download functionalities are using the official Maven repository.

testdata_builder.templates.xml Maven / Gradle / Ivy

There is a newer version: 2.4.3
Show newest version
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<templatesConfiguration xmlns="http://capgemini.com/devonfw/cobigen/TemplatesConfiguration" version="2.1">
    <templates>
        <template name="entityBuilder" destinationPath="src/test/java/${variables.rootPackage}/common/builders/${variables.pojoName}Builder.java" templateFile="ObjectBuilder.java.ftl" mergeStrategy="javamerge"/>
        <template name="entityBuilder_customFunctions" destinationPath="src/test/java/${variables.rootPackage}/common/builders/${variables.pojoName}Builder.java" templateFile="ObjectBuilder_customFunctions.java.ftl" mergeStrategy="javamerge"/>
        <template name="entityBuilder_fillMandatoryFields" destinationPath="src/test/java/${variables.rootPackage}/common/builders/${variables.pojoName}Builder.java" templateFile="ObjectBuilder_fillMandatoryFields.java.ftl" mergeStrategy="javamerge_override"/>
        <template name="entityBuilder_persistable" destinationPath="src/test/java/${variables.rootPackage}/common/builders/${variables.pojoName}Builder.java" templateFile="ObjectBuilder_persistable.java.ftl" mergeStrategy="javamerge"/>
        <template name="P" destinationPath="src/test/java/${variables.rootPackage}/common/builders/P.java" templateFile="P.java.ftl"/>
    </templates>
    <increments>
        <increment name="testdata_builder" description="Testdata builder">
            <templateRef ref="P"/>
            <templateRef ref="entityBuilder"/>
            <templateRef ref="entityBuilder_fillMandatoryFields"/>
            <templateRef ref="entityBuilder_customFunctions"/>
        </increment>
        <increment name="testdata_builder_persistable" description="Testdata builder (persistable)">
            <templateRef ref="P"/>
            <templateRef ref="entityBuilder"/>
            <templateRef ref="entityBuilder_fillMandatoryFields"/>
            <templateRef ref="entityBuilder_customFunctions"/>
            <templateRef ref="entityBuilder_persistable"/>
        </increment>
    </increments>
</templatesConfiguration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy