From bafe762ac01d16904c18404283027e426e19bc73 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 3 Feb 2021 16:35:48 +0100 Subject: Code reorganization. Moving main code to src, keeping modules in modules/ --- modules/ri-module-api/classpath.txt | 23 ++++++++++++++++++++++ modules/ri-module-api/pom.xml | 16 +++++++++++++++ .../io/trygvis/rules/engine/TemplateEngine.java | 10 ++++++++++ 3 files changed, 49 insertions(+) create mode 100644 modules/ri-module-api/classpath.txt create mode 100644 modules/ri-module-api/pom.xml create mode 100644 modules/ri-module-api/src/main/java/io/trygvis/rules/engine/TemplateEngine.java (limited to 'modules/ri-module-api') diff --git a/modules/ri-module-api/classpath.txt b/modules/ri-module-api/classpath.txt new file mode 100644 index 0000000..1f0f0a6 --- /dev/null +++ b/modules/ri-module-api/classpath.txt @@ -0,0 +1,23 @@ +io.trygvis.rules-sandbox.module:ri-module-api:1.0-SNAPSHOT:jar +com.github.javaparser:javaparser-core:3.13.10:jar +com.thoughtworks.xstream:xstream:1.4.14:jar +commons-codec:commons-codec:1.14:jar +commons-io:commons-io:2.8.0:jar +org.antlr:antlr-runtime:3.5.2:jar +org.drools:drools-canonical-model:7.48.0.Final:jar +org.drools:drools-compiler:7.48.0.Final:jar +org.drools:drools-core:7.48.0.Final:jar +org.drools:drools-core-dynamic:7.48.0.Final:jar +org.drools:drools-core-reflective:7.48.0.Final:jar +org.drools:drools-ecj:7.48.0.Final:jar +org.drools:drools-model-compiler:7.48.0.Final:jar +org.drools:drools-mvel-compiler:7.48.0.Final:jar +org.drools:drools-mvel-parser:7.48.0.Final:jar +org.kie:kie-api:7.48.0.Final:jar +org.kie:kie-internal:7.48.0.Final:jar +org.kie:kie-memory-compiler:7.48.0.Final:jar +org.kie.soup:kie-soup-maven-support:7.48.0.Final:jar +org.kie.soup:kie-soup-xstream:7.48.0.Final:jar +org.slf4j:slf4j-api:1.7.30:jar +xmlpull:xmlpull:1.1.3.1:jar +xpp3:xpp3_min:1.1.4c:jar diff --git a/modules/ri-module-api/pom.xml b/modules/ri-module-api/pom.xml new file mode 100644 index 0000000..118b5ba --- /dev/null +++ b/modules/ri-module-api/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + io.trygvis.rules-sandbox.module + ri-module-parent + 1.0-SNAPSHOT + ../ri-module-parent/pom.xml + + + ri-module-api + + diff --git a/modules/ri-module-api/src/main/java/io/trygvis/rules/engine/TemplateEngine.java b/modules/ri-module-api/src/main/java/io/trygvis/rules/engine/TemplateEngine.java new file mode 100644 index 0000000..eafa6e4 --- /dev/null +++ b/modules/ri-module-api/src/main/java/io/trygvis/rules/engine/TemplateEngine.java @@ -0,0 +1,10 @@ +package io.trygvis.rules.engine; + +import java.io.IOException; +import java.util.Map; + +public interface TemplateEngine { + void clean(); + + void template(String name, String output, Map params) throws IOException; +} -- cgit v1.2.3