curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [33/35] curator git commit: Added getSchemas()
Date Thu, 19 May 2016 19:02:48 GMT
Added getSchemas()


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

Branch: refs/heads/CURATOR-3.0
Commit: b6b9006b79afbb029da08d9319fa1b1986a5f3d6
Parents: 1dbdbdc
Author: randgalt <randgalt@apache.org>
Authored: Fri May 6 11:19:33 2016 -0500
Committer: randgalt <randgalt@apache.org>
Committed: Fri May 6 11:19:33 2016 -0500

----------------------------------------------------------------------
 .../org/apache/curator/framework/schema/SchemaSetLoader.java    | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/b6b9006b/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSetLoader.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSetLoader.java
b/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSetLoader.java
index bf77c7d..16b387e 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSetLoader.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSetLoader.java
@@ -103,6 +103,11 @@ public class SchemaSetLoader
         return new SchemaSet(schemas, useDefaultSchema);
     }
 
+    public List<Schema> getSchemas()
+    {
+        return schemas;
+    }
+
     private void read(ImmutableList.Builder<Schema> builder, JsonNode node, SchemaValidatorMapper
schemaValidatorMapper)
     {
         for ( JsonNode child : node )


Mime
View raw message