camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject [3/3] camel git commit: CAMEL-10575: regenerate SnakeYAMLDataFormatConfiguration
Date Fri, 09 Dec 2016 13:18:15 GMT
CAMEL-10575: regenerate SnakeYAMLDataFormatConfiguration


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/dcb5a74a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/dcb5a74a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/dcb5a74a

Branch: refs/heads/master
Commit: dcb5a74a3987d2264ad195c7844bbb6c81216610
Parents: 20e2622
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Fri Dec 9 14:16:11 2016 +0100
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Fri Dec 9 14:17:35 2016 +0100

----------------------------------------------------------------------
 .../SnakeYAMLDataFormatConfiguration.java       | 26 ++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/dcb5a74a/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
b/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
index ce78189..588a5da 100644
--- a/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
+++ b/components-starter/camel-snakeyaml-starter/src/main/java/org/apache/camel/component/snakeyaml/springboot/SnakeYAMLDataFormatConfiguration.java
@@ -16,8 +16,10 @@
  */
 package org.apache.camel.component.snakeyaml.springboot;
 
+import java.util.List;
 import org.apache.camel.component.snakeyaml.SnakeYAMLDataFormat;
 import org.apache.camel.model.dataformat.YAMLLibrary;
+import org.apache.camel.model.dataformat.YAMLTypeFilterDefinition;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 
 /**
@@ -61,6 +63,14 @@ public class SnakeYAMLDataFormatConfiguration {
      * style.
      */
     private Boolean prettyFlow = false;
+    /**
+     * Allow any class to be un-marshaled
+     */
+    private Boolean allowAnyType = false;
+    /**
+     * Set the types SnakeYAML is allowed to un-marshall
+     */
+    private List<YAMLTypeFilterDefinition> typeFilter;
 
     public YAMLLibrary getLibrary() {
         return library;
@@ -126,4 +136,20 @@ public class SnakeYAMLDataFormatConfiguration {
     public void setPrettyFlow(Boolean prettyFlow) {
         this.prettyFlow = prettyFlow;
     }
+
+    public Boolean getAllowAnyType() {
+        return allowAnyType;
+    }
+
+    public void setAllowAnyType(Boolean allowAnyType) {
+        this.allowAnyType = allowAnyType;
+    }
+
+    public List<YAMLTypeFilterDefinition> getTypeFilter() {
+        return typeFilter;
+    }
+
+    public void setTypeFilter(List<YAMLTypeFilterDefinition> typeFilter) {
+        this.typeFilter = typeFilter;
+    }
 }
\ No newline at end of file


Mime
View raw message