Interface GlobalvarRepository

All Superinterfaces:
Backupable

public interface GlobalvarRepository extends Backupable
  • Method Details

    • list

      Set<String> list()
      Returns:
      list
    • getFileContent

      String getFileContent(String fileName)
      Returns:
      Retrieve raw json
    • saveFile

      void saveFile(String fileName, String content)
      Parameters:
      content - to persist
    • deleteFile

      void deleteFile(String fileName)
    • getFlatMap

      Map<String,String> getFlatMap()
      For example: { "key1": "value1", "key2": { "subKey1": "subValue1", "subKey2": "subValue2" } } will return a map of 3 object : - "key1" : "value1" - "key2.subKey1" : "subValue1" - "key2.subKey2" : "subValue2"
      Returns:
      map with flatten key