Interface ProjectProperties

All Known Implementing Classes:
LocalProjectProperties

public interface ProjectProperties
Extension for Projects. This class will be used to load, access, modify and save project properties in the form of a JSON object.
  • Method Details

    • getProjectJson

      org.json.JSONObject getProjectJson()
      Get the project JSON object.
      Returns:
      a copy of the project JSON object
    • modifyProjectJson

      void modifyProjectJson(ProjectProperties.PropertyModifier modifier) throws IOException
      Atomically modify the project JSON object
      Parameters:
      modifier - function that receives current JSON and returns modified JSON
      Throws:
      IOException - on error