Class ConfigFile

java.lang.Object
edu.university.ecs.lab.common.models.ir.ProjectFile
edu.university.ecs.lab.common.models.ir.ConfigFile
All Implemented Interfaces:
JsonSerializable

public class ConfigFile extends ProjectFile implements JsonSerializable
Represents a project configuration file
  • Field Details

    • data

      private final com.google.gson.JsonObject data
  • Constructor Details

    • ConfigFile

      public ConfigFile(String path, String name, com.google.gson.JsonObject data, FileType type)
  • Method Details

    • toJsonObject

      public com.google.gson.JsonObject toJsonObject()
      Description copied from interface: JsonSerializable
      This method is a generalizable definition for converting an object of any type to a JsonObject
      Specified by:
      toJsonObject in interface JsonSerializable
      Overrides:
      toJsonObject in class ProjectFile
      Returns:
      a JsonObject representing this