UNOMI-101 : Missing setters and update default value for multiValueDelimiter


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/05544a76
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/05544a76
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/05544a76

Branch: refs/heads/feature-UNOMI-117
Commit: 05544a7662d59f2ed578ca676ad99fc6bc4b9f5a
Parents: bc06486
Author: Abdelkader Midani <amid...@apache.org>
Authored: Tue Aug 8 14:45:39 2017 +0200
Committer: Abdelkader Midani <amid...@apache.org>
Committed: Tue Aug 8 14:45:39 2017 +0200

----------------------------------------------------------------------
 .../unomi/router/api/ImportConfiguration.java     | 18 ++++++++++++++++++
 .../router/api/ImportExportConfiguration.java     |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/05544a76/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportConfiguration.java
----------------------------------------------------------------------
diff --git 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportConfiguration.java
 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportConfiguration.java
index a6850ef..2916b8b 100644
--- 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportConfiguration.java
+++ 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportConfiguration.java
@@ -93,6 +93,15 @@ public class ImportConfiguration extends 
ImportExportConfiguration {
     }
 
     /**
+     * Sets the hasHeader flag.
+     *
+     * @param hasHeader
+     */
+    public void setHasHeader(boolean hasHeader) {
+        this.hasHeader = hasHeader;
+    }
+
+    /**
      * Retrieves the hasDeleteColumn flag.
      *
      * @return true if the file imported by the current config has a delete 
column.
@@ -100,4 +109,13 @@ public class ImportConfiguration extends 
ImportExportConfiguration {
     public boolean isHasDeleteColumn() {
         return this.hasDeleteColumn;
     }
+
+    /**
+     * Sets the hasDeleteColumn flag.
+     *
+     * @param hasDeleteColumn
+     */
+    public void setHasDeleteColumn(boolean hasDeleteColumn) {
+        this.hasDeleteColumn = hasDeleteColumn;
+    }
 }

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/05544a76/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportExportConfiguration.java
----------------------------------------------------------------------
diff --git 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportExportConfiguration.java
 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportExportConfiguration.java
index 0613a6e..7beb194 100644
--- 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportExportConfiguration.java
+++ 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ImportExportConfiguration.java
@@ -35,7 +35,7 @@ public class ImportExportConfiguration extends Item {
     private String columnSeparator = ",";
     private String lineSeparator = "\n";
     private String multiValueSeparator = ";";
-    private String multiValueDelimiter = "[]";
+    private String multiValueDelimiter = "";
     private boolean active;
     private String status;
 

Reply via email to