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
Represents a project configuration file
-
Field Summary
Fields inherited from class edu.university.ecs.lab.common.models.ir.ProjectFile
fileType, name, path
-
Constructor Summary
ConstructorDescriptionConfigFile
(String path, String name, com.google.gson.JsonObject data, FileType type) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObject
This method is a generalizable definition for converting an object of any type to a JsonObject
-
Field Details
-
data
private final com.google.gson.JsonObject data
-
-
Constructor Details
-
ConfigFile
-
-
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 interfaceJsonSerializable
- Overrides:
toJsonObject
in classProjectFile
- Returns:
- a JsonObject representing this
-