AAI-1523 Batch reformat aai-schema-ingest
[aai/aai-common.git] / aai-schema-ingest / src / main / java / org / onap / aai / setup / Translator.java
index 09062e1..39efde5 100644 (file)
 
 package org.onap.aai.setup;
 
-import org.springframework.beans.factory.annotation.Autowired;
-
 import java.io.*;
 import java.util.List;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
 /**
  * Converts the contents of the schema config file
  * (which lists which schema files to be loaded) to
@@ -32,36 +33,33 @@ import java.util.List;
  */
 public abstract class Translator {
 
-       protected SchemaVersions schemaVersions;
+    protected SchemaVersions schemaVersions;
 
-       public Translator(SchemaVersions schemaVersions) {
-               this.schemaVersions = schemaVersions;
-       }
-       
-       /**
-        * Translates the contents of the schema config file
-        * into the input for the NodeIngestor
-        * 
-        * @return Map of Version to the list of (string) filenames to be 
-        * ingested for that version
-        */
+    public Translator(SchemaVersions schemaVersions) {
+        this.schemaVersions = schemaVersions;
+    }
 
+    /**
+     * Translates the contents of the schema config file
+     * into the input for the NodeIngestor
+     * 
+     * @return Map of Version to the list of (string) filenames to be
+     *         ingested for that version
+     */
 
     public abstract List<InputStream> getVersionNodeStream(SchemaVersion version) throws IOException;
 
-    public abstract List<String>
-    getJsonPayload(SchemaVersion version) throws IOException;
-
-       /**
-        * Translates the contents of the schema config file
-        * into the input for the EdgeIngestor
-        * 
-        * @return Map of Version to the List of (String) filenames to be 
-        * ingested for that version
-        */
+    public abstract List<String> getJsonPayload(SchemaVersion version) throws IOException;
 
+    /**
+     * Translates the contents of the schema config file
+     * into the input for the EdgeIngestor
+     * 
+     * @return Map of Version to the List of (String) filenames to be
+     *         ingested for that version
+     */
 
-       public SchemaVersions getSchemaVersions(){
+    public SchemaVersions getSchemaVersions() {
         return this.schemaVersions;
-       }
+    }
 }